Package org.gephi.graph.api
Interface EdgeIterable
-
- All Superinterfaces:
ElementIterable<Edge>
,Iterable<Edge>
- All Known Implementing Classes:
EdgeIterable.EdgeIterableEmpty
public interface EdgeIterable extends ElementIterable<Edge>
An edge iterable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
EdgeIterable.EdgeIterableEmpty
Empty edge iterable.-
Nested classes/interfaces inherited from interface org.gephi.graph.api.ElementIterable
ElementIterable.ElementIterableEmpty
-
-
Field Summary
Fields Modifier and Type Field Description static EdgeIterable
EMPTY
The static empty iterable.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterator<Edge>
iterator()
Returns an edge iterator.Edge[]
toArray()
Returns the iterator content as an array.Collection<Edge>
toCollection()
Returns the iterator content as a collection.Set<Edge>
toSet()
Returns the iterator content as a set.-
Methods inherited from interface org.gephi.graph.api.ElementIterable
doBreak
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
EMPTY
static final EdgeIterable EMPTY
The static empty iterable.
-
-
Method Detail
-
toArray
Edge[] toArray()
Returns the iterator content as an array.- Specified by:
toArray
in interfaceElementIterable<Edge>
- Returns:
- edge array
-
toCollection
Collection<Edge> toCollection()
Returns the iterator content as a collection.- Specified by:
toCollection
in interfaceElementIterable<Edge>
- Returns:
- edge collection
-
toSet
Set<Edge> toSet()
Returns the iterator content as a set.- Specified by:
toSet
in interfaceElementIterable<Edge>
- Returns:
- edge set
-
-