Modifier and Type | Interface | Description |
---|---|---|
interface |
PathMatcher |
The
PathMatcher provides WildcardMatcher functionality for
matching paths: The PathMatcher matches its ANT like path pattern
against the path provided to the PathMatcher.isMatching(String) and the like
methods. |
interface |
RegExpMatcher |
|
interface |
WildcardMatcher |
A
WildcardMatcher is a Matcher providing additional means to
work with the wildcards and their wildcard substitutes in case of a match as
of isMatching(Object) . |
Modifier and Type | Class | 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> |
|
class |
PathMatcherImpl |
Implements the
PathMatcher interface. |
class |
RegExpMatcherImpl |
Implements the
PathMatcher interface. |
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 a
Matcher which always
returns true . |
static <M> Matcher<M> |
MatcherSugar.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>> |
MatcherSugar.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>> |
MatcherSugar.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> |
MatcherSugar.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>> |
MatcherSugar.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>> |
MatcherSugar.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> |
MatcherSugar.none() |
Import static NONE implementation of a
Matcher which always
returns false . |
static <M> Matcher<M> |
MatcherSugar.not(Matcher<M> aMatcher) |
Import static NOT
Matcher whose
isMatching(Object) method inverts (NOT) the
isMatching(Object) result of the encapsulated
Matcher . |
static <M> Matcher<M> |
MatcherSugar.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> |
MatcherSugar.or(Matcher<M>... aMatchers) |
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 NOT
Matcher whose
isMatching(Object) method inverts (NOT) the
isMatching(Object) result of the encapsulated
Matcher . |
static <M> Matcher<M> |
MatcherSugar.or(Matcher<M>... aMatchers) |
Constructor | 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) |
Copyright © 2021. All rights reserved.