Package org.eclipse.jetty.util
Class ClassMatcher.ByClass
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<ClassMatcher.Entry>
,Collection<ClassMatcher.Entry>
,Predicate<String>
,Set<ClassMatcher.Entry>
- Enclosing class:
- ClassMatcher
public static class ClassMatcher.ByClass
extends HashSet<ClassMatcher.Entry>
implements Predicate<String>
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
add
(ClassMatcher.Entry entry) iterator()
boolean
int
size()
boolean
Methods inherited from class java.util.HashSet
clear, clone, contains, isEmpty, spliterator, toArray, toArray
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
ByClass
public ByClass()
-
-
Method Details
-
test
-
iterator
- Specified by:
iterator
in interfaceCollection<ClassMatcher.Entry>
- Specified by:
iterator
in interfaceIterable<ClassMatcher.Entry>
- Specified by:
iterator
in interfaceSet<ClassMatcher.Entry>
- Overrides:
iterator
in classHashSet<ClassMatcher.Entry>
-
size
public int size()- Specified by:
size
in interfaceCollection<ClassMatcher.Entry>
- Specified by:
size
in interfaceSet<ClassMatcher.Entry>
- Overrides:
size
in classHashSet<ClassMatcher.Entry>
-
add
- Specified by:
add
in interfaceCollection<ClassMatcher.Entry>
- Specified by:
add
in interfaceSet<ClassMatcher.Entry>
- Overrides:
add
in classHashSet<ClassMatcher.Entry>
-
remove
- Specified by:
remove
in interfaceCollection<ClassMatcher.Entry>
- Specified by:
remove
in interfaceSet<ClassMatcher.Entry>
- Overrides:
remove
in classHashSet<ClassMatcher.Entry>
-