E - type of elements stored in the listK - type of keypublic class MapList<E,K>
extends org.magicwerk.brownies.collections.KeyList<E,K>
SetList,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
MapList.Builder<E,K>
Builder to construct MapList instances.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<K,E> |
asMap()
Returns a view on the MapList as Map.
|
MapList<E,K> |
copy()
Returns a shallow copy of this GapList instance
(the new list will contain the same elements as the source list, i.e. the elements themselves are not copied).
|
MapList<E,K> |
crop()
Returns a copy this list but without elements.
|
Mapper<E,K> |
getMapper() |
add, add, clear, clone, containsKey, getAllByKey, getByKey, getComparator, getCountByKey, getCountDistinctKeys, getDistinctKeys, getNaturalComparator, indexOfKey, invalidate, put, removeAllByKey, removeByKey, setaddAll, addAll, addAll, addAll, addAll, addAll, addFirst, addLast, binarySearch, binarySearch, capacity, contains, containsAll, containsAny, copy, copy, create, create, descendingIterator, element, EMPTY, ensureCapacity, equals, fill, fill, get, get, getArray, getFirst, getLast, hashCode, indexOf, init, isEmpty, iterator, lastIndexOf, listIterator, listIterator, move, move, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, remove, removeAll, removeAll, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, resize, retainAll, retainAll, reverse, reverse, rotate, rotate, setAll, setAll, setAll, size, sort, sort, swap, swap, toArray, toArray, toArray, toString, trimToSize, unmodifiableListpublic MapList<E,K> copy()
GapListcopy in class GapList<E>GapList.clone()public MapList<E,K> crop()