@Portable public class ListGraphStore<T extends GraphNode> extends Object implements GraphStore<T>
Constructor and Description |
---|
ListGraphStore() |
Modifier and Type | Method and Description |
---|---|
T |
addNode(T node) |
T |
getNode(int id) |
Iterator<T> |
iterator() |
T |
removeNode(int id) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public T removeNode(int id)
removeNode
in interface GraphStore<T extends GraphNode>
public T getNode(int id)
getNode
in interface GraphStore<T extends GraphNode>
public int size()
size
in interface GraphStore<T extends GraphNode>
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.