|
|||||||||
| 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.CompositeMatch<T>
games.strategy.util.CompositeMatchAnd<T>
public class CompositeMatchAnd<T>
True if all matches return true.
| Field Summary |
|---|
| Fields inherited from class games.strategy.util.Match |
|---|
ALWAYS_MATCH, NEVER_MATCH |
| Constructor Summary | |
|---|---|
CompositeMatchAnd(java.util.Collection<Match<T>> matches)
|
|
CompositeMatchAnd(Match... matches)
|
|
| Method Summary | |
|---|---|
boolean |
match(T o)
Subclasses must override this method. |
| Methods inherited from class games.strategy.util.CompositeMatch |
|---|
add, addInverse, getMatches |
| 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 CompositeMatchAnd(Match... matches)
public CompositeMatchAnd(java.util.Collection<Match<T>> matches)
| 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 | ||||||||