|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TripleResults
A ClosableIterator of Triple objects,
with several built-in convenience methods.
| Method Summary | |
|---|---|
org.jrdf.graph.Triple[] |
all()
Get all triples 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.Triple |
first()
Get the first triple 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.Triple first()
org.jrdf.graph.Triple[] all()
int count()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||