public final class EqualsTraverserPredicate extends Object implements org.apache.commons.collections.Predicate, Serializable
Predicate
which simply tests for equality with a
specified Graph.Edge
.Constructor and Description |
---|
EqualsTraverserPredicate(Graph.Edge testEdge)
Creates a new
EqualsTraverserPredicate with the
specified test Edge . |
Modifier and Type | Method and Description |
---|---|
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() |
public EqualsTraverserPredicate(Graph.Edge testEdge)
EqualsTraverserPredicate
with the
specified test Edge
.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
.See the Plexus project home, hosted by SourceForge.
Copyright ? 1994-2006, by Phoenix Software Technologists, Inc. and others. All Rights Reserved. Use is subject to license terms.