public static final class ElementIterable.ElementIterableEmpty extends Object implements Iterator<Element>, ElementIterable
ElementIterable.ElementIterableEmpty
EMPTY
Constructor and Description |
---|
ElementIterableEmpty() |
Modifier and Type | Method and Description |
---|---|
void |
doBreak()
Break the iterator and release read lock (if any).
|
boolean |
hasNext() |
Iterator<Element> |
iterator()
Returns the element iterator.
|
Element |
next() |
void |
remove() |
Element[] |
toArray()
Returns the iterator content as an array.
|
Collection<Element> |
toCollection()
Returns the iterator content as a collection.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
forEach, spliterator
public Iterator<Element> iterator()
ElementIterable
iterator
in interface Iterable
iterator
in interface ElementIterable
public Element[] toArray()
ElementIterable
toArray
in interface ElementIterable
public Collection<Element> toCollection()
ElementIterable
toCollection
in interface ElementIterable
public void doBreak()
ElementIterable
doBreak
in interface ElementIterable
Copyright © 2007–2015 Gephi Consortium. All rights reserved.