Uses of Interface
org.refcodes.matcher.Matcher
-
Uses of Matcher in org.refcodes.matcher
Subinterfaces of Matcher in org.refcodes.matcherModifier and TypeInterfaceDescriptioninterfaceAWildcardMatcheris aMatcherproviding additional means to work with the wildcards and their wildcard substitutes in case of a match as ofMatchable.isMatching(Object).Classes in org.refcodes.matcher that implement MatcherModifier and TypeClassDescriptionclassTheAbstractMatcheeMatcheris composed of multipleMatcherinstances queried upon match requests as ofMatchable.isMatching(Object).classTheAbstractMatcherprovides a base functionality forMatcherimplementations.classTheAbstractMatcherCompositeis composed of multipleMatcherinstances queried upon match requests as ofMatchable.isMatching(Object).classTheAbstractWildcardMatcherprovides a base functionality forMatcherimplementations.classAndMatcher<M>classAnyMatcher<M>An ANY implementation of aMatcherwhich always returnstrue.classAn EQUAL WITHMatcher, comparing its matchee with the matchee provided to theEqualWithMatcher.isMatching(Object)method for equality.classGreaterOrEqualThanMatcher<M extends Comparable<M>>A GREATER OR EQUAL THANMatcher, comparing its matchee with the matchee provided to theMatchable.isMatching(Object)method using theComparable.compareTo(Object)method to be implemented by the matchees.classGreaterThanMatcher<M extends Comparable<M>>A GREATER THANMatcher, comparing its matchee with the matchee provided to theMatchable.isMatching(Object)method using theComparable.compareTo(Object)method to be implemented by the matchees.classA IS ASSIGNABLE FROM implementation of aMatcherby type.classLessOrEqualThanMatcher<M extends Comparable<M>>A LESS OR EQUAL THANMatcher, comparing its matchee with the matchee provided to theMatchable.isMatching(Object)method using theComparable.compareTo(Object)method to be implemented by the matchees.classLessThanMatcher<M extends Comparable<M>>A LESS THANMatcher, comparing its matchee with the matchee provided to theMatchable.isMatching(Object)method using theComparable.compareTo(Object)method to be implemented by the matchees.classNoneMatcher<M>A NONE implementation of aMatcherwhich always returnsfalse.classA NOT EQUAL WITHMatcher, comparing its matchee with the matchee provided to theNotEqualWithMatcher.isMatching(Object)method for equality.classNotMatcher<M>classOrMatcher<M>classThePathMatcherprovidesWildcardMatcherfunctionality for matching paths: ThePathMatchermatches its ANT like path pattern against the path provided to thePathMatcher.isMatching(String)and the like methods.classThe REGEXPRegExpMatcherprovidesWildcardMatcherfunctionality for regular expressionPatternmatching.Fields in org.refcodes.matcher declared as MatcherMethods in org.refcodes.matcher that return MatcherModifier and TypeMethodDescriptionstatic <M> Matcher<M>static <M> Matcher<M>MatcherSugar.any()Import static ANY implementation of aMatcherwhich always returnstrue.static <M> Matcher<M>MatcherSugar.equalWith(M aMatchee) Import static EQUAL WITHMatcher, comparing its matchee with the matchee provided to theMatchable.isMatching(Object)method for equality.static <M extends Comparable<M>>
Matcher<M>MatcherSugar.greaterOrEqualThan(M aMatchee) Import static GREATER OR EQUAL THANMatcher, comparing its matchee with the matchee provided to theMatchable.isMatching(Object)method using theComparable.compareTo(Object)method to be implemented by the matchees.static <M extends Comparable<M>>
Matcher<M>MatcherSugar.greaterThan(M aMatchee) Import static GREATER THANMatcher, comparing its matchee with the matchee provided to theMatchable.isMatching(Object)method using theComparable.compareTo(Object)method to be implemented by the matchees.static <M> Matcher<M>MatcherSugar.isAssignableFrom(Class<?> aMatcheeType) Static import IS ASSIGNABLE FROMMatcherusing the type of the matchees being the criteria to determine a match.static <M extends Comparable<M>>
Matcher<M>MatcherSugar.lessOrEqualThan(M aMatchee) Import static LESS OR EQUAL THANMatcher, comparing its matchee with the matchee provided to theMatchable.isMatching(Object)method using theComparable.compareTo(Object)method to be implemented by the matchees.static <M extends Comparable<M>>
Matcher<M>MatcherSugar.lessThan(M aMatchee) Import static LESS THANMatcher, comparing its matchee with the matchee provided to theMatchable.isMatching(Object)method using theComparable.compareTo(Object)method to be implemented by the matchees.static <M> Matcher<M>MatcherSugar.none()Import static NONE implementation of aMatcherwhich always returnsfalse.static <M> Matcher<M>Import static NOTMatcherwhoseMatchable.isMatching(Object)method inverts (NOT) theMatchable.isMatching(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 theMatchable.isMatching(Object)method for equality.static <M> Matcher<M>Methods in org.refcodes.matcher with parameters of type MatcherModifier and TypeMethodDescriptionstatic <M> Matcher<M>static <M> Matcher<M>Import static NOTMatcherwhoseMatchable.isMatching(Object)method inverts (NOT) theMatchable.isMatching(Object)result of the encapsulatedMatcher.static <M> Matcher<M>Constructors in org.refcodes.matcher with parameters of type MatcherModifierConstructorDescriptionAbstractMatcherComposite(String aAlias, String aDescription, Matcher<M>... aMatchers) Constructs anAbstractMatcherCompositewith the given description and matchers.AndMatcher(Matcher<M>... aMatchers) NotMatcher(Matcher<M> aMatcher) Constructs a NOTMatcherwhoseNotMatcher.isMatching(Object)method inverts (NOT) theNotMatcher.isMatching(Object)result of the encapsulatedMatcher.