All Packages Class Hierarchy This Package Previous Next Index
Interface att.grappa.GraphEnumeration
- public interface GraphEnumeration
- extends Enumeration
An extension of the Enumeration interface specific to enumerations of
graph elements.
- Version:
- 1.1, 30 Sep 1999; Copyright 1996 - 1999 by AT&T Corp.
- Author:
- John Mocenigo, Research @ AT&T Labs
-
getEnumerationTypes()
- Get the types of elements possibly contained in this enumeration.
-
getSubgraphRoot()
- Get the root of this enumeration.
-
nextGraphElement()
- A convenience method that should just return a cast
of a call to nextElement()
getSubgraphRoot
public abstract Subgraph getSubgraphRoot()
- Get the root of this enumeration.
- Returns:
- the root subgraph for this enumeration
getEnumerationTypes
public abstract int getEnumerationTypes()
- Get the types of elements possibly contained in this enumeration.
- Returns:
- an indication of the types of elements in this enumeration
- See Also:
- NODE, EDGE, SUBGRAPH
nextGraphElement
public abstract Element nextGraphElement() throws NoSuchElementException
- A convenience method that should just return a cast
of a call to nextElement()
- Returns:
- the next graph element in the enumeration
- Throws: NoSuchElementException
- whenever the enumeration has no more
elements.
All Packages Class Hierarchy This Package Previous Next Index