Drools :: Beliefs 6.2.0.Final

org.drools.beliefs.graph.impl
Class ListGraphStore<T>

java.lang.Object
  extended by org.drools.beliefs.graph.impl.ListGraphStore<T>
All Implemented Interfaces:
Iterable<GraphNode<T>>, GraphStore<T>

public class ListGraphStore<T>
extends Object
implements GraphStore<T>


Constructor Summary
ListGraphStore()
           
 
Method Summary
 GraphNode<T> addNode()
           
 GraphNode<T> getNode(int id)
           
 Iterator<GraphNode<T>> iterator()
           
 GraphNode<T> removeNode(int id)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListGraphStore

public ListGraphStore()
Method Detail

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>>

Drools :: Beliefs 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.