Package | Description |
---|---|
org.refcodes.matcher.impls | |
org.refcodes.matcher.statics |
Modifier and Type | Class and Description |
---|---|
class |
AndMatcherImpl<M>
|
class |
AnyMatcherImpl<M>
An ANY implementation of a
Matcher which always returns
true . |
class |
EqualWithMatcherImpl<M>
An EQUAL WITH
Matcher , comparing its matchee with the matchee
provided to the EqualWithMatcherImpl.isMatching(Object) method for equality. |
class |
GreaterOrEqualThanMatcherImpl<M extends Comparable<M>>
A GREATER OR EQUAL THAN
Matcher , comparing its matchee with the
matchee provided to the isMatching(Object) method using the
Comparable.compareTo(Object) method to be implemented by the
matchees. |
class |
GreaterThanMatcherImpl<M extends Comparable<M>>
A GREATER THAN
Matcher , comparing its matchee with the matchee
provided to the isMatching(Object) method using the
Comparable.compareTo(Object) method to be implemented by the
matchees. |
class |
IsAssignableFromMatcherImpl<M>
A IS ASSIGNABLE FROM implementation of a
Matcher by type. |
class |
LessOrEqualThanMatcherImpl<M extends Comparable<M>>
A LESS OR EQUAL THAN
Matcher , comparing its matchee with the matchee
provided to the isMatching(Object) method using the
Comparable.compareTo(Object) method to be implemented by the
matchees. |
class |
LessThanMatcherImpl<M extends Comparable<M>>
A LESS THAN
Matcher , comparing its matchee with the matchee provided
to the isMatching(Object) method using the
Comparable.compareTo(Object) method to be implemented by the
matchees. |
class |
NoneMatcherImpl<M>
A NONE implementation of a
Matcher which always returns
false . |
class |
NotEqualWithMatcherImpl<M>
A NOT EQUAL WITH
Matcher , comparing its matchee with the matchee
provided to the NotEqualWithMatcherImpl.isMatching(Object) method for equality. |
class |
NotMatcherImpl<M>
|
class |
OrMatcherImpl<M>
|
Constructor and Description |
---|
AndMatcherImpl(Matcher<M>... aMatchers)
|
NotMatcherImpl(Matcher<M> aMatcher)
Constructs a NOT
Matcher whose NotMatcherImpl.isMatching(Object) method
inverts (NOT) the NotMatcherImpl.isMatching(Object) result of the encapsulated
Matcher . |
OrMatcherImpl(Matcher<M>... aMatchers)
|
Modifier and Type | Method and Description |
---|---|
static <M> Matcher<M> |
MatcherDeclaration.and(Matcher<M>... aMatchers)
|
static <M> Matcher<M> |
MatcherDeclaration.any()
Import static ANY implementation of a
Matcher which always
returns true . |
static <M> Matcher<M> |
MatcherDeclaration.equalWith(M aMatchee)
Import static EQUAL WITH
Matcher , comparing its matchee with the
matchee provided to the #isMatching(Object) method for equality. |
static <M extends Comparable<M>> |
MatcherDeclaration.greaterOrEqualThan(M aMatchee)
Import static GREATER OR EQUAL THAN
Matcher , comparing its
matchee with the matchee provided to the #isMatching(Object)
method using the Comparable.compareTo(Object) method to be
implemented by the matchees. |
static <M extends Comparable<M>> |
MatcherDeclaration.greaterThan(M aMatchee)
Import static GREATER THAN
Matcher , comparing its matchee with
the matchee provided to the #isMatching(Object) method using the
Comparable.compareTo(Object) method to be implemented by the
matchees. |
static <M> Matcher<M> |
MatcherDeclaration.isAssignableFrom(Class<?> aMatcheeType)
Static import IS ASSIGNABLE FROM
Matcher using the type of the
matchees being the criteria to determine a match. |
static <M extends Comparable<M>> |
MatcherDeclaration.lessOrEqualThan(M aMatchee)
Import static LESS OR EQUAL THAN
Matcher , comparing its matchee
with the matchee provided to the #isMatching(Object) method using
the Comparable.compareTo(Object) method to be implemented by the
matchees. |
static <M extends Comparable<M>> |
MatcherDeclaration.lessThan(M aMatchee)
Import static LESS THAN
Matcher , comparing its matchee with the
matchee provided to the #isMatching(Object) method using the
Comparable.compareTo(Object) method to be implemented by the
matchees. |
static <M> Matcher<M> |
MatcherDeclaration.none()
Import static NONE implementation of a
Matcher which always
returns false . |
static <M> Matcher<M> |
MatcherDeclaration.not(Matcher<M> aMatcher)
|
static <M> Matcher<M> |
MatcherDeclaration.notEqualWith(M aMatchee)
Import static NOT EQUAL WITH
Matcher , comparing its matchee with
the matchee provided to the #isMatching(Object) method for
equality. |
static <M> Matcher<M> |
MatcherDeclaration.or(Matcher<M>... aMatchers)
|
Modifier and Type | Method and Description |
---|---|
static <M> Matcher<M> |
MatcherDeclaration.and(Matcher<M>... aMatchers)
|
static <M> Matcher<M> |
MatcherDeclaration.not(Matcher<M> aMatcher)
|
static <M> Matcher<M> |
MatcherDeclaration.or(Matcher<M>... aMatchers)
|
Copyright © 2015. All rights reserved.