Package org.eclipse.jetty.util
Class 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 -
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, retainAll, toArray, toArray, toStringMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
addAll, contains, containsAll, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
RegexSet
public RegexSet()Deprecated.
-
-
Method Details
-
iterator
Deprecated. -
size
public int size()Deprecated.- Specified by:
sizein interfaceCollection<String>- Specified by:
sizein interfaceSet<String>- Specified by:
sizein classAbstractCollection<String>
-
add
Deprecated.- Specified by:
addin interfaceCollection<String>- Specified by:
addin interfaceSet<String>- Overrides:
addin classAbstractCollection<String>
-
remove
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>
-
test
Deprecated. -
matches
Deprecated.
-