Package org.eclipse.jetty.webapp
Class ClasspathPattern.ByLocationOrModule
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
-
- org.eclipse.jetty.webapp.ClasspathPattern.ByLocationOrModule
-
- 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.net.URI>
,java.util.Set<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
- Enclosing class:
- ClasspathPattern
public static class ClasspathPattern.ByLocationOrModule extends java.util.AbstractSet<org.eclipse.jetty.webapp.ClasspathPattern.Entry> implements java.util.function.Predicate<java.net.URI>
-
-
Constructor Summary
Constructors Constructor Description ByLocationOrModule()
-
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.net.URI name)
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, retainAll, toArray, toArray, toString
-
-
-
-
Method Detail
-
test
public boolean test(java.net.URI name)
- Specified by:
test
in interfacejava.util.function.Predicate<java.net.URI>
-
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>
-
-