Uses of Interface
org.refcodes.matcher.Matcher
-
-
Uses of Matcher in org.refcodes.matcher
Subinterfaces of Matcher in org.refcodes.matcher Modifier and Type Interface Description interface
PathMatcher
PathMatcher
, matching its ANT like path pattern against the path provided to thePathMatcher.isMatching(String)
and the like methods.Classes in org.refcodes.matcher that implement Matcher Modifier and Type Class Description class
AndMatcherImpl<M>
class
AnyMatcherImpl<M>
An ANY implementation of aMatcher
which always returnstrue
.class
EqualWithMatcherImpl<M>
An EQUAL WITHMatcher
, comparing its matchee with the matchee provided to theEqualWithMatcherImpl.isMatching(Object)
method for equality.class
GreaterOrEqualThanMatcherImpl<M extends java.lang.Comparable<M>>
A GREATER OR EQUAL THANMatcher
, comparing its matchee with the matchee provided to theisMatching(Object)
method using theComparable.compareTo(Object)
method to be implemented by the matchees.class
GreaterThanMatcherImpl<M extends java.lang.Comparable<M>>
A GREATER THANMatcher
, comparing its matchee with the matchee provided to theisMatching(Object)
method using theComparable.compareTo(Object)
method to be implemented by the matchees.class
IsAssignableFromMatcherImpl<M>
A IS ASSIGNABLE FROM implementation of aMatcher
by type.class
LessOrEqualThanMatcherImpl<M extends java.lang.Comparable<M>>
A LESS OR EQUAL THANMatcher
, comparing its matchee with the matchee provided to theisMatching(Object)
method using theComparable.compareTo(Object)
method to be implemented by the matchees.class
LessThanMatcherImpl<M extends java.lang.Comparable<M>>
A LESS THANMatcher
, comparing its matchee with the matchee provided to theisMatching(Object)
method using theComparable.compareTo(Object)
method to be implemented by the matchees.class
NoneMatcherImpl<M>
A NONE implementation of aMatcher
which always returnsfalse
.class
NotEqualWithMatcherImpl<M>
A NOT EQUAL WITHMatcher
, comparing its matchee with the matchee provided to theNotEqualWithMatcherImpl.isMatching(Object)
method for equality.class
NotMatcherImpl<M>
class
OrMatcherImpl<M>
class
PathMatcherImpl
Implements thePathMatcher
interface.Methods in org.refcodes.matcher that return Matcher Modifier and Type Method Description static <M> Matcher<M>
MatcherSugar. and(Matcher<M>... aMatchers)
static <M> Matcher<M>
MatcherSugar. any()
Import static ANY implementation of aMatcher
which always returnstrue
.static <M> Matcher<M>
MatcherSugar. equalWith(M aMatchee)
Import static EQUAL WITHMatcher
, comparing its matchee with the matchee provided to theisMatching(Object)
method for equality.static <M extends java.lang.Comparable<M>>
Matcher<M>MatcherSugar. greaterOrEqualThan(M aMatchee)
Import static GREATER OR EQUAL THANMatcher
, comparing its matchee with the matchee provided to theisMatching(Object)
method using theComparable.compareTo(Object)
method to be implemented by the matchees.static <M extends java.lang.Comparable<M>>
Matcher<M>MatcherSugar. greaterThan(M aMatchee)
Import static GREATER THANMatcher
, comparing its matchee with the matchee provided to theisMatching(Object)
method using theComparable.compareTo(Object)
method to be implemented by the matchees.static <M> Matcher<M>
MatcherSugar. isAssignableFrom(java.lang.Class<?> aMatcheeType)
Static import IS ASSIGNABLE FROMMatcher
using the type of the matchees being the criteria to determine a match.static <M extends java.lang.Comparable<M>>
Matcher<M>MatcherSugar. lessOrEqualThan(M aMatchee)
Import static LESS OR EQUAL THANMatcher
, comparing its matchee with the matchee provided to theisMatching(Object)
method using theComparable.compareTo(Object)
method to be implemented by the matchees.static <M extends java.lang.Comparable<M>>
Matcher<M>MatcherSugar. lessThan(M aMatchee)
Import static LESS THANMatcher
, comparing its matchee with the matchee provided to theisMatching(Object)
method using theComparable.compareTo(Object)
method to be implemented by the matchees.static <M> Matcher<M>
MatcherSugar. none()
Import static NONE implementation of aMatcher
which always returnsfalse
.static <M> Matcher<M>
MatcherSugar. not(Matcher<M> aMatcher)
Import static NOTMatcher
whoseisMatching(Object)
method inverts (NOT) theisMatching(Object)
result of the encapsulatedMatcher
.static <M> Matcher<M>
MatcherSugar. notEqualWith(M aMatchee)
Import static NOT EQUAL WITHMatcher
, comparing its matchee with the matchee provided to theisMatching(Object)
method for equality.static <M> Matcher<M>
MatcherSugar. or(Matcher<M>... aMatchers)
Methods in org.refcodes.matcher with parameters of type Matcher Modifier and Type Method Description static <M> Matcher<M>
MatcherSugar. and(Matcher<M>... aMatchers)
static <M> Matcher<M>
MatcherSugar. not(Matcher<M> aMatcher)
Import static NOTMatcher
whoseisMatching(Object)
method inverts (NOT) theisMatching(Object)
result of the encapsulatedMatcher
.static <M> Matcher<M>
MatcherSugar. or(Matcher<M>... aMatchers)
Constructors in org.refcodes.matcher with parameters of type Matcher Constructor Description AndMatcherImpl(Matcher<M>... aMatchers)
NotMatcherImpl(Matcher<M> aMatcher)
Constructs a NOTMatcher
whoseNotMatcherImpl.isMatching(Object)
method inverts (NOT) theNotMatcherImpl.isMatching(Object)
result of the encapsulatedMatcher
.OrMatcherImpl(Matcher<M>... aMatchers)
-