public class FieldsBuffer<F> extends LinkedList<F> implements FieldsProvider<F>
modCount
Constructor and Description |
---|
FieldsBuffer() |
FieldsBuffer(Collection<F> e) |
Modifier and Type | Method and Description |
---|---|
long |
countAny() |
Optional<F> |
findFirst() |
List<F> |
findMany() |
void |
forEach(Consumer<? super F> action) |
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArray
iterator
equals, hashCode, listIterator, removeRange, subList
containsAll, isEmpty, removeAll, retainAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
exists, filter, findOne, map
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subList
parallelStream, removeIf, stream
public FieldsBuffer()
public FieldsBuffer(Collection<F> e)
public List<F> findMany()
findMany
in interface FieldsProvider<F>
public Optional<F> findFirst()
findFirst
in interface FieldsProvider<F>
public long countAny()
countAny
in interface FieldsProvider<F>
Copyright © 2021. All rights reserved.