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