|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface defining the behavior of iterators specialized to browse TreeHashMap objects.
Method Summary | |
boolean |
hasNext()
Returns true if there is another element |
boolean |
isNode()
Returns true if the current item is a node and false if it is a leaf. |
java.lang.String |
key()
Returns the key nameof the current item, the one which was called by a previous next() or nextKey() method. |
int |
level()
Returns the level of the current item. |
java.util.Map.Entry |
next()
Returns the next item in the TreeHashMap. |
java.lang.String |
nextKey()
Returns the key (always a string) of the 'next item'. |
java.lang.String |
path()
Returns the path of the current item, from its root. |
java.lang.Object |
value()
Returns the value of the current item, the one which was called by a previous next() or nextKey() method. |
Method Detail |
public boolean hasNext()
public java.util.Map.Entry next()
public java.lang.String nextKey()
public java.lang.String key()
public java.lang.Object value()
public boolean isNode()
public int level()
public java.lang.String path()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |