Package org.eclipse.jetty.webapp
Class ClasspathPattern.ByClass
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- java.util.HashSet<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
-
- org.eclipse.jetty.webapp.ClasspathPattern.ByClass
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
,java.util.Collection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
,java.util.function.Predicate<java.lang.String>
,java.util.Set<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
- Enclosing class:
- ClasspathPattern
public static class ClasspathPattern.ByClass extends java.util.HashSet<org.eclipse.jetty.webapp.ClasspathPattern.Entry> implements java.util.function.Predicate<java.lang.String>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ByClass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(org.eclipse.jetty.webapp.ClasspathPattern.Entry entry)
java.util.Iterator<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
iterator()
boolean
remove(java.lang.Object entry)
int
size()
boolean
test(java.lang.String name)
-
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
-
-
-
-
Method Detail
-
test
public boolean test(java.lang.String name)
- Specified by:
test
in interfacejava.util.function.Predicate<java.lang.String>
-
iterator
public java.util.Iterator<org.eclipse.jetty.webapp.ClasspathPattern.Entry> iterator()
- Specified by:
iterator
in interfacejava.util.Collection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
- Specified by:
iterator
in interfacejava.lang.Iterable<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
- Specified by:
iterator
in interfacejava.util.Set<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
- Overrides:
iterator
in classjava.util.HashSet<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
-
size
public int size()
- Specified by:
size
in interfacejava.util.Collection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
- Specified by:
size
in interfacejava.util.Set<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
- Overrides:
size
in classjava.util.HashSet<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
-
add
public boolean add(org.eclipse.jetty.webapp.ClasspathPattern.Entry entry)
- Specified by:
add
in interfacejava.util.Collection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
- Specified by:
add
in interfacejava.util.Set<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
- Overrides:
add
in classjava.util.HashSet<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
-
remove
public boolean remove(java.lang.Object entry)
- Specified by:
remove
in interfacejava.util.Collection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
- Specified by:
remove
in interfacejava.util.Set<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
- Overrides:
remove
in classjava.util.HashSet<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
-
-