|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hp.hpl.jena.util.IteratorCollection
public class IteratorCollection
Method Summary | |
---|---|
static java.util.List |
iteratorToList(java.util.Iterator it)
Answer the elements of the given iterator as a list, in the order that they arrived from the iterator. |
static java.util.Set |
iteratorToSet(java.util.Iterator i)
Answer the elements of the given iterator as a set. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Set iteratorToSet(java.util.Iterator i)
i
- the iterator to convert
public static java.util.List iteratorToList(java.util.Iterator it)
it
- the iterator to convert
it
, in order
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |