Package org.eclipse.jetty.webapp
Class ClasspathPattern.ByPackageOrName
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
-
- org.eclipse.jetty.webapp.ClasspathPattern.ByPackageOrName
-
- All Implemented Interfaces:
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.ByPackageOrName extends java.util.AbstractSet<org.eclipse.jetty.webapp.ClasspathPattern.Entry> implements java.util.function.Predicate<java.lang.String>
-
-
Constructor Summary
Constructors Constructor Description ByPackageOrName()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(org.eclipse.jetty.webapp.ClasspathPattern.Entry entry)
void
clear()
java.util.Iterator<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
iterator()
boolean
remove(java.lang.Object o)
int
size()
boolean
test(java.lang.String name)
-
-
-
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>
- Specified by:
iterator
in classjava.util.AbstractCollection<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>
- Specified by:
size
in classjava.util.AbstractCollection<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.AbstractCollection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
-
remove
public boolean remove(java.lang.Object o)
- 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.AbstractCollection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
-
clear
public void clear()
- Specified by:
clear
in interfacejava.util.Collection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
- Specified by:
clear
in interfacejava.util.Set<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
- Overrides:
clear
in classjava.util.AbstractCollection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
-
-