Class RegexSet
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 AbstractSet
equals, hashCode, removeAllMethods inherited from class AbstractCollection
addAll, contains, containsAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface Set
addAll, contains, containsAll, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
RegexSet
public RegexSet()
-
-
Method Details
-
iterator
-
size
public int size()- Specified by:
sizein interfaceCollection<String>- Specified by:
sizein interfaceSet<String>- Specified by:
sizein classAbstractCollection<String>
-
add
- Specified by:
addin interfaceCollection<String>- Specified by:
addin interfaceSet<String>- Overrides:
addin classAbstractCollection<String>
-
remove
- Specified by:
removein interfaceCollection<String>- Specified by:
removein interfaceSet<String>- Overrides:
removein classAbstractCollection<String>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<String>- Specified by:
isEmptyin interfaceSet<String>- Overrides:
isEmptyin classAbstractCollection<String>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<String>- Specified by:
clearin interfaceSet<String>- Overrides:
clearin classAbstractCollection<String>
-
test
-
matches
-