@Portable public class GraphImpl<C,T extends GraphNode> extends Object implements Graph<C,T>, Iterable<T>
GraphImpl(GraphStore<T> graphStore)
T
addNode(T node)
C
getContent()
getNode(int id)
Iterator<T>
iterator()
removeNode(int id)
void
setContent(C content)
int
size()
String
toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public GraphImpl(GraphStore<T> graphStore)
public T addNode(T node)
addNode
Graph<C,T extends GraphNode>
public T removeNode(int id)
removeNode
public T getNode(int id)
getNode
public void setContent(C content)
setContent
public C getContent()
getContent
public int size()
size
public Iterator<T> iterator()
iterator
Iterable<T extends GraphNode>
public String toString()
toString
Object
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.