public class MatchesLimited extends ArrayList<Match> implements Matches
modCount
Constructor and Description |
---|
MatchesLimited(long limit) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Match match)
Changes contract of Collection.add() to be the following: return true when Matches is full and no more should
be added.
|
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public boolean add(Match match)
Matches