public class ShallowIterator extends GraphObjectIterator
DeepIterator| Constructor and Description |
|---|
ShallowIterator(Graph g) |
ShallowIterator(Graph g,
GraphObject.Kind kind) |
ShallowIterator(Graph g,
GraphObject go) |
hasNext, howMany, next, removepublic ShallowIterator(Graph g)
g - Graph all of whose elements are collected to form the iteratorDeepIteratorpublic ShallowIterator(Graph g, GraphObject.Kind kind)
g - graph whose elements of one kind are collected to form the
iteratorkind - one of the GraphObject GNODE, GEDGE or GRAPHDeepIteratorpublic ShallowIterator(Graph g, GraphObject go)
g - graph whose elements of one class are collected to form the
iteratorgo - one of the GraphObject subclassesDeepIterator