Package org.eclipse.jetty.util
Class RegexSet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<String>
-
- org.eclipse.jetty.util.RegexSet
-
@Deprecated(since="2021-05-27") public class RegexSet extends AbstractSet<String> implements Predicate<String>
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.A Set of Regular expressions strings.Provides the efficient
matches(String)method to check for a match against all the combined Regex's
-
-
Constructor Summary
Constructors Constructor Description RegexSet()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanadd(String pattern)Deprecated.voidclear()Deprecated.booleanisEmpty()Deprecated.Iterator<String>iterator()Deprecated.booleanmatches(String s)Deprecated.booleanremove(Object pattern)Deprecated.intsize()Deprecated.booleantest(String s)Deprecated.-
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 interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.Set
addAll, contains, containsAll, retainAll, spliterator, toArray, toArray
-
-
-
-
Method Detail
-
size
public int size()
Deprecated.- Specified by:
sizein interfaceCollection<String>- Specified by:
sizein interfaceSet<String>- Specified by:
sizein classAbstractCollection<String>
-
add
public boolean add(String pattern)
Deprecated.- Specified by:
addin interfaceCollection<String>- Specified by:
addin interfaceSet<String>- Overrides:
addin classAbstractCollection<String>
-
remove
public boolean remove(Object pattern)
Deprecated.- Specified by:
removein interfaceCollection<String>- Specified by:
removein interfaceSet<String>- Overrides:
removein classAbstractCollection<String>
-
isEmpty
public boolean isEmpty()
Deprecated.- Specified by:
isEmptyin interfaceCollection<String>- Specified by:
isEmptyin interfaceSet<String>- Overrides:
isEmptyin classAbstractCollection<String>
-
clear
public void clear()
Deprecated.- Specified by:
clearin interfaceCollection<String>- Specified by:
clearin interfaceSet<String>- Overrides:
clearin classAbstractCollection<String>
-
matches
public boolean matches(String s)
Deprecated.
-
-