|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeResults
A ClosableIterator
of Node
objects,
with several built-in convenience methods.
Method Summary | |
---|---|
org.jrdf.graph.Node[] |
all()
Get all nodes as an array and automatically close the iterator. |
int |
count()
Get the number of items in the iterator and automatically close it. |
org.jrdf.graph.Node |
first()
Get the first node and automatically close the iterator. |
Methods inherited from interface org.jrdf.util.ClosableIterator |
---|
close |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Method Detail |
---|
org.jrdf.graph.Node first()
org.jrdf.graph.Node[] all()
int count()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |