|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModelElements
Provides abstract access to the set of model elements having been observed in a log.
Method Summary | |
---|---|
ModelElement |
find(java.lang.String element)
Retrieves a model element from this set. |
ModelElement |
first()
Retrieves the first model element in this set. |
ModelElement |
get(int index)
Retrieves a model element contained in this set at the specific index. |
boolean |
hasNext()
Deprecated. For iterator access please use the iterator() method of this class. |
java.util.Iterator |
iterator()
Retrieves an iterator over the ModelElement
instances contained in this set. |
ModelElement |
last()
Retrieves the last model element in this set. |
ModelElement |
next()
Deprecated. For iterator access please use the iterator() method of this class. |
void |
reset()
Deprecated. For iterator access please use the iterator() method of this class. |
int |
size()
Retrieves the number of model elements contained in this set. |
java.lang.String |
toString()
Returns a string representation of this set. |
Method Detail |
---|
ModelElement find(java.lang.String element)
element
- Name of the model element.
null
otherwise.ModelElement first()
ModelElement last()
int size()
ModelElement get(int index)
index
- Index of the requested model
element in this set.
java.util.Iterator iterator()
ModelElement
instances contained in this set.
java.lang.String toString()
toString
in class java.lang.Object
boolean hasNext()
iterator()
method of this class.
ModelElement next()
iterator()
method of this class.
void reset()
iterator()
method of this class.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |