org.drools.beliefs.graph.impl
Class ListGraphStore<T>
java.lang.Object
org.drools.beliefs.graph.impl.ListGraphStore<T>
- All Implemented Interfaces:
- Iterable<GraphNode<T>>, GraphStore<T>
public class ListGraphStore<T>
- extends Object
- implements GraphStore<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListGraphStore
public ListGraphStore()
addNode
public GraphNode<T> addNode()
- Specified by:
addNode in interface GraphStore<T>
removeNode
public GraphNode<T> removeNode(int id)
- Specified by:
removeNode in interface GraphStore<T>
getNode
public GraphNode<T> getNode(int id)
- Specified by:
getNode in interface GraphStore<T>
size
public int size()
- Specified by:
size in interface GraphStore<T>
iterator
public Iterator<GraphNode<T>> iterator()
- Specified by:
iterator in interface Iterable<GraphNode<T>>
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.