|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- The type of the keys.D
- The type of the data.public interface Listiterator<K,D>
An Listiterator allows all operations of an Iterator
, and
additionally has operations to insert and delete entries at the
current position.
Iterator
,
List.iterator()
,
Map.iterator()
Method Summary | |
---|---|
void |
append(K k,
D d)
Inserts a new entry (k,d) behind the current entry. |
void |
delete()
Deletes the current entry (and directly steps to the next entry) |
void |
prepend(K k,
D d)
Inserts a new entry (k,d) before the current entry. |
Methods inherited from interface Iterator |
---|
data, key, more, step |
Method Detail |
---|
void delete()
void append(K k, D d)
k
- d
- void prepend(K k, D d)
k
- d
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |