Package org.eclipse.jetty.util
Class ClassMatcher.ByPackage
- All Implemented Interfaces:
Iterable<ClassMatcher.Entry>
,Collection<ClassMatcher.Entry>
,Predicate<String>
,Set<ClassMatcher.Entry>
- Enclosing class:
- ClassMatcher
public static class ClassMatcher.ByPackage
extends AbstractSet<ClassMatcher.Entry>
implements Predicate<String>
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.Set
addAll, contains, containsAll, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
ByPackage
public ByPackage()
-
-
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>
- Specified by:
iterator
in classAbstractCollection<ClassMatcher.Entry>
-
size
public int size()- Specified by:
size
in interfaceCollection<ClassMatcher.Entry>
- Specified by:
size
in interfaceSet<ClassMatcher.Entry>
- Specified by:
size
in classAbstractCollection<ClassMatcher.Entry>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<ClassMatcher.Entry>
- Specified by:
isEmpty
in interfaceSet<ClassMatcher.Entry>
- Overrides:
isEmpty
in classAbstractCollection<ClassMatcher.Entry>
-
add
- Specified by:
add
in interfaceCollection<ClassMatcher.Entry>
- Specified by:
add
in interfaceSet<ClassMatcher.Entry>
- Overrides:
add
in classAbstractCollection<ClassMatcher.Entry>
-
remove
- Specified by:
remove
in interfaceCollection<ClassMatcher.Entry>
- Specified by:
remove
in interfaceSet<ClassMatcher.Entry>
- Overrides:
remove
in classAbstractCollection<ClassMatcher.Entry>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<ClassMatcher.Entry>
- Specified by:
clear
in interfaceSet<ClassMatcher.Entry>
- Overrides:
clear
in classAbstractCollection<ClassMatcher.Entry>
-