Package org.eclipse.jetty.util
Class RegexSet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<java.lang.String>
-
- org.eclipse.jetty.util.RegexSet
-
- All Implemented Interfaces:
java.lang.Iterable<java.lang.String>
,java.util.Collection<java.lang.String>
,java.util.function.Predicate<java.lang.String>
,java.util.Set<java.lang.String>
@Deprecated(since="2021-05-27") public class RegexSet extends java.util.AbstractSet<java.lang.String> implements java.util.function.Predicate<java.lang.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 boolean
add(java.lang.String pattern)
Deprecated.void
clear()
Deprecated.boolean
isEmpty()
Deprecated.java.util.Iterator<java.lang.String>
iterator()
Deprecated.boolean
matches(java.lang.String s)
Deprecated.boolean
remove(java.lang.Object pattern)
Deprecated.int
size()
Deprecated.boolean
test(java.lang.String s)
Deprecated.
-
-
-
Method Detail
-
iterator
public java.util.Iterator<java.lang.String> iterator()
Deprecated.- Specified by:
iterator
in interfacejava.util.Collection<java.lang.String>
- Specified by:
iterator
in interfacejava.lang.Iterable<java.lang.String>
- Specified by:
iterator
in interfacejava.util.Set<java.lang.String>
- Specified by:
iterator
in classjava.util.AbstractCollection<java.lang.String>
-
size
public int size()
Deprecated.- Specified by:
size
in interfacejava.util.Collection<java.lang.String>
- Specified by:
size
in interfacejava.util.Set<java.lang.String>
- Specified by:
size
in classjava.util.AbstractCollection<java.lang.String>
-
add
public boolean add(java.lang.String pattern)
Deprecated.- Specified by:
add
in interfacejava.util.Collection<java.lang.String>
- Specified by:
add
in interfacejava.util.Set<java.lang.String>
- Overrides:
add
in classjava.util.AbstractCollection<java.lang.String>
-
remove
public boolean remove(java.lang.Object pattern)
Deprecated.- Specified by:
remove
in interfacejava.util.Collection<java.lang.String>
- Specified by:
remove
in interfacejava.util.Set<java.lang.String>
- Overrides:
remove
in classjava.util.AbstractCollection<java.lang.String>
-
isEmpty
public boolean isEmpty()
Deprecated.- Specified by:
isEmpty
in interfacejava.util.Collection<java.lang.String>
- Specified by:
isEmpty
in interfacejava.util.Set<java.lang.String>
- Overrides:
isEmpty
in classjava.util.AbstractCollection<java.lang.String>
-
clear
public void clear()
Deprecated.- Specified by:
clear
in interfacejava.util.Collection<java.lang.String>
- Specified by:
clear
in interfacejava.util.Set<java.lang.String>
- Overrides:
clear
in classjava.util.AbstractCollection<java.lang.String>
-
test
public boolean test(java.lang.String s)
Deprecated.- Specified by:
test
in interfacejava.util.function.Predicate<java.lang.String>
-
matches
public boolean matches(java.lang.String s)
Deprecated.
-
-