|
Plexus v0.13.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.phoenixst.plexus.util.EqualsTraverserPredicate
public final class EqualsTraverserPredicate
A Predicate
which simply tests for equality with a
specified Graph.Edge
.
Constructor Summary | |
---|---|
EqualsTraverserPredicate(Graph.Edge testEdge)
Creates a new EqualsTraverserPredicate with the
specified test Edge . |
Method Summary | |
---|---|
boolean |
equals(Object object)
|
boolean |
evaluate(Object object)
Returns true if the second element of the
specified List is .equals() to the
test Edge . |
Graph.Edge |
getTestEdge()
Returns the test Edge being used by this
EqualsTraverserPredicate . |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EqualsTraverserPredicate(Graph.Edge testEdge)
EqualsTraverserPredicate
with the
specified test Edge
.
Method Detail |
---|
public boolean evaluate(Object object)
true
if the second element of the
specified List
is .equals()
to the
test Edge
.
evaluate
in interface org.apache.commons.collections.Predicate
public Graph.Edge getTestEdge()
Edge
being used by this
EqualsTraverserPredicate
.
public boolean equals(Object object)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
Plexus v0.13.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |