Package org.drools.beliefs.graph.impl
Class GraphImpl<T>
- java.lang.Object
-
- org.drools.beliefs.graph.impl.GraphImpl<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected intidCounter
-
Constructor Summary
Constructors Constructor Description GraphImpl(GraphStore<T> graphStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphNode<T>addNode()GraphNode<T>getNode(int id)Iterator<GraphNode<T>>iterator()GraphNode<T>removeNode(int id)intsize()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
GraphImpl
public GraphImpl(GraphStore<T> graphStore)
-
-
Method Detail
-
removeNode
public GraphNode<T> removeNode(int id)
- Specified by:
removeNodein interfaceGraph<T>
-
-