| Modifier and Type | Class | Description |
|---|---|---|
class |
MapChain.Atom |
| Constructor | Description |
|---|---|
MapChain() |
| Modifier and Type | Method | Description |
|---|---|---|
MapChain.Atom |
add(T data) |
Add an atom to this chain
|
void |
clear() |
clear chain
(data will be lost, so if need to save,
navigate and save prior to clearing)
|
void |
forEach(java.util.function.Consumer<T> consumer) |
Do something for each atom in a chaain
|
T[] |
toArray() |
Returns an array of chain's elements
returns array of chain's elements
|
List<T> |
toList() |
Returns chains elements in a standard list
|
String |
toString() |
public MapChain.Atom add(T data)
Chainpublic void forEach(java.util.function.Consumer<T> consumer)
Chainpublic List<T> toList()
ChaintoList in interface Chain<T>Chain.toList()public T[] toArray()
ChaintoArray in interface Chain<T>Chain.toArray()public String toString()
toString in class ObjectObject.toString()public void clear()
Chainclear in interface Chain<T>Chain.clear()
Copyright © 2008, 2017, Oracle. All rights reserved.