|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.eclipse.tptp.platform.report.birt).
public interface IDItemIterator
Provides an interface to parse a IDItem hierarchy. Before parsing item
with an IDItemIterator you should call getFirst to take the first item
and getNext to take the next item. The method getNext returns null if
there is no next item to parse (ie: getNext()==getFirst()).
//usage example 1
for (IDItem c = iterator.getFirst(); c != null; c = c.getNext())
{
...
}
//usage example 2
iterator.getFirst()
while (iterator.getCurrent()!=null)
{
...
getNext();
}
| Method Summary | |
|---|---|
IDItem |
getCurrent()
Deprecated. Returns the current item pointed by the iterator. |
IDItem |
getFirst()
Deprecated. Returns the first IDItem the iterator of the first child. |
IDItem |
getLast()
Deprecated. Returns the iterator of the last child. |
IDItem |
getNext()
Deprecated. Returns the iterator of the next item. |
void |
setCurrent(IDItem i)
Deprecated. Sets the current item to 'i'. |
| Method Detail |
|---|
IDItem getCurrent()
IDItem getFirst()
IDItem getLast()
IDItem getNext()
void setCurrent(IDItem i)
i - item to make current
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||