|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgames.strategy.util.Match<T>
games.strategy.util.InverseMatch<T>
public class InverseMatch<T>
A match that returns the negation of the given match.
| Field Summary |
|---|
| Fields inherited from class games.strategy.util.Match |
|---|
ALWAYS_MATCH, NEVER_MATCH |
| Constructor Summary | |
|---|---|
InverseMatch(Match<T> aMatch)
Creates new CompositeMatchOr |
|
| Method Summary | |
|---|---|
boolean |
match(T o)
Subclasses must override this method. |
| Methods inherited from class games.strategy.util.Match |
|---|
allMatch, countMatches, getKeysWhereValueMatch, getMatches, getNMatches, invert, noneMatch, someMatch |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InverseMatch(Match<T> aMatch)
| Method Detail |
|---|
public boolean match(T o)
Match
match in class Match<T>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||