Class GraphFilter.State

  extended by de.grogra.graph.GraphState
      extended by de.grogra.graph.GraphBase.State
          extended by de.grogra.graph.GraphFilter.State
Enclosing class:

protected class GraphFilter.State
extends GraphBase.State

Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.graph.GraphState
Constructor Summary
GraphFilter.State(GraphState sourceState, ThreadContext ctx)
Method Summary
 boolean containsInTree(java.lang.Object object, boolean asNode)
          Tests whether an object is contained in the tree of the graph.
 GraphState createDelegate(ThreadContext tc)
 void setEdgeBits(java.lang.Object edge, int bits)
Methods inherited from class de.grogra.graph.GraphBase.State
fireAttributeChanged, fireEdgeChanged, getQueue
Methods inherited from class de.grogra.graph.GraphState
allocatePropertyId, beginInstancing, checkBoolean, checkByte, checkChar, checkDouble, checkFloat, checkInt, checkLong, checkObject, checkShort, createObjectState, current, deinstantiate, dispose, endInstancing, finalize, forContext, get, getBoolean, getBooleanDefault, getByte, getByteDefault, getChar, getCharDefault, getContext, getDouble, getDoubleDefault, getFloat, getFloatDefault, getGraph, getInstancingPath, getInstancingPathIndex, getInt, getIntDefault, getLong, getLongDefault, getObject, getObject, getObjectContext, getObjectDefault, getShort, getShortDefault, getUserProperty, initialize, instantiate, instantiateEdge, moveToInstance, moveToNextInstance, moveToPreviousInstance, setInstanceAttribute, setObjectContext, setObjectContext, setUserProperty
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public GraphFilter.State(GraphState sourceState,
                         ThreadContext ctx)
Method Detail


public boolean containsInTree(java.lang.Object object,
                              boolean asNode)
Description copied from class: GraphState
Tests whether an object is contained in the tree of the graph. The tree is defined by Graph.getTreePattern().

Specified by:
containsInTree in class GraphState
object - the object
asNode - true if object is a node, false if object is an edge
true iff the object is part of the tree


public GraphState createDelegate(ThreadContext tc)
Specified by:
createDelegate in class GraphState


public void setEdgeBits(java.lang.Object edge,
                        int bits)
Specified by:
setEdgeBits in class GraphState