Class MatchesList
java.lang.Object
nl.basjes.parse.useragent.analyze.MatchesList
- All Implemented Interfaces:
Serializable,Iterable<MatchesList.Match>,Collection<MatchesList.Match>
public final class MatchesList
extends Object
implements Collection<MatchesList.Match>, Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanadd(MatchesList.Match match) booleanaddAll(Collection<? extends MatchesList.Match> collection) voidclear()booleanbooleancontainsAll(Collection<?> collection) booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> collection) booleanretainAll(Collection<?> collection) intsize()Object[]toArray()<T> T[]toArray(T[] ts) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream
-
Constructor Details
-
MatchesList
public MatchesList(int newMaxSize)
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<MatchesList.Match>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<MatchesList.Match>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<MatchesList.Match>
-
add
-
iterator
- Specified by:
iteratorin interfaceCollection<MatchesList.Match>- Specified by:
iteratorin interfaceIterable<MatchesList.Match>
-
toArray
- Specified by:
toArrayin interfaceCollection<MatchesList.Match>
-
toStrings
-
toString
-
add
- Specified by:
addin interfaceCollection<MatchesList.Match>
-
addAll
- Specified by:
addAllin interfaceCollection<MatchesList.Match>
-
remove
- Specified by:
removein interfaceCollection<MatchesList.Match>
-
removeAll
- Specified by:
removeAllin interfaceCollection<MatchesList.Match>
-
retainAll
- Specified by:
retainAllin interfaceCollection<MatchesList.Match>
-
contains
- Specified by:
containsin interfaceCollection<MatchesList.Match>
-
containsAll
- Specified by:
containsAllin interfaceCollection<MatchesList.Match>
-
toArray
- Specified by:
toArrayin interfaceCollection<MatchesList.Match>
-