public class IlvPreorderEnumeration extends Object implements Enumeration
Constructor and Description |
---|
IlvPreorderEnumeration(IlvSDMModel model)
Creates a new enumeration that returns all the objects
of a model in preorder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements()
Implementation of the
Enumeration interface. |
Object |
nextElement()
Implementation of the
Enumeration interface. |
public IlvPreorderEnumeration(IlvSDMModel model)
model
- The model whose objects are to be returned.public boolean hasMoreElements()
Enumeration
interface.
Returns true
if the enumeration can
return more elements.hasMoreElements
in interface Enumeration
public Object nextElement()
Enumeration
interface.
Returns the next element of the enumeration.nextElement
in interface Enumeration
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.