Class ListGraphStore<T extends GraphNode>
- java.lang.Object
-
- org.uberfire.ext.wires.bpmn.beliefs.graph.impl.ListGraphStore<T>
-
- All Implemented Interfaces:
Iterable<T>,GraphStore<T>
@Portable public class ListGraphStore<T extends GraphNode> extends Object implements GraphStore<T>
-
-
Constructor Summary
Constructors Constructor Description ListGraphStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaddNode(T node)TgetNode(int id)Iterator<T>iterator()TremoveNode(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
-
-
-
-
Method Detail
-
addNode
public T addNode(T node)
- Specified by:
addNodein interfaceGraphStore<T extends GraphNode>
-
removeNode
public T removeNode(int id)
- Specified by:
removeNodein interfaceGraphStore<T extends GraphNode>
-
getNode
public T getNode(int id)
- Specified by:
getNodein interfaceGraphStore<T extends GraphNode>
-
size
public int size()
- Specified by:
sizein interfaceGraphStore<T extends GraphNode>
-
-