Package com.floragunn.codova.config.text
Class PatternImpl
- java.lang.Object
-
- com.floragunn.codova.config.text.PatternImpl
-
-
Constructor Summary
Constructors Constructor Description PatternImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Patternexcluding(Pattern exludingPattern)<E> com.floragunn.fluent.collections.ImmutableSet<E>getMatching(com.floragunn.fluent.collections.ImmutableSet<E> set, Function<E,String> stringMappingFunction)com.floragunn.fluent.collections.ImmutableSet<String>getMatching(com.floragunn.fluent.collections.ImmutableSet<String> strings)booleanisBlank()booleanisWildcard()<E> Iterable<E>iterateMatching(Iterable<E> elements, Function<E,String> toStringFunction)Iterable<String>iterateMatching(Iterable<String> strings)booleanmatches(Iterable<String> strings)booleantest(String string)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.floragunn.codova.documents.Document
meta, toBasicObject, toBytes, toDeepBasicObject, toDocNode, toJsonString, toPrettyJsonString, toSmile, toString, toYamlString
-
Methods inherited from interface com.floragunn.codova.config.text.Pattern
getConstants, getPatterns, matches
-
-
-
-
Method Detail
-
getMatching
public com.floragunn.fluent.collections.ImmutableSet<String> getMatching(com.floragunn.fluent.collections.ImmutableSet<String> strings)
- Specified by:
getMatchingin interfacePattern
-
getMatching
public <E> com.floragunn.fluent.collections.ImmutableSet<E> getMatching(com.floragunn.fluent.collections.ImmutableSet<E> set, Function<E,String> stringMappingFunction)- Specified by:
getMatchingin interfacePattern
-
iterateMatching
public Iterable<String> iterateMatching(Iterable<String> strings)
- Specified by:
iterateMatchingin interfacePattern
-
iterateMatching
public <E> Iterable<E> iterateMatching(Iterable<E> elements, Function<E,String> toStringFunction)
- Specified by:
iterateMatchingin interfacePattern
-
isWildcard
public boolean isWildcard()
- Specified by:
isWildcardin interfacePattern
-
-