public interface MapReader<G,M,K,V>
| Modifier and Type | Method and Description |
|---|---|
G |
add(G m,
K key,
V val)
Adds a key and value to the map, returning
a new map; new map must be used for
any further invocations
|
M |
complete(G m)
Completes building of a map
|
G |
init()
Initializes a new (gestational) map
|
G |
init(int size)
Initializes a new (gestational) map of specified size
|
G init()
G init(int size)
size - initial size of the new mapG add(G m, K key, V val)
m - a (gestational) mapkey - a keyval - a valueCopyright © 2017. All rights reserved.