|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EdgeDefinition
Associates a traverser filter with the ability to create new edges that match that filter. This is used as the backing for a graph-based meta-object that can be used to provide a mutable meta-object view of a node in a graph.
Method Summary | |
---|---|
boolean |
evaluate(java.lang.Object obj)
Evaluates an edge to see if it matches this edge definition. |
java.lang.Object |
getEdgeUserObject(java.lang.Object tail,
java.lang.Object head)
Capable of creating user objects appropriate for edges of the type associated with this edge defition. |
org.apache.commons.collections.Predicate |
getTraverserPredicate()
Returns a filter capable of filtering edges of the type associated with this edge definition. |
boolean |
isDirected()
Returns true if the edges are directed. |
Method Detail |
---|
org.apache.commons.collections.Predicate getTraverserPredicate()
boolean evaluate(java.lang.Object obj)
evaluate
in interface org.apache.commons.collections.Predicate
boolean isDirected()
java.lang.Object getEdgeUserObject(java.lang.Object tail, java.lang.Object head)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |