org.javimmutable.collections.listmap
Class JImmutableInsertOrderListMap<K,V>
java.lang.Object
org.javimmutable.collections.listmap.AbstractJImmutableListMap<K,V>
org.javimmutable.collections.listmap.JImmutableInsertOrderListMap<K,V>
- Type Parameters:
K
- V
-
- All Implemented Interfaces:
- Iterable<JImmutableMap.Entry<K,JImmutableList<V>>>, Cursorable<JImmutableMap.Entry<K,JImmutableList<V>>>, Insertable<JImmutableMap.Entry<K,V>>, JImmutableListMap<K,V>, Mapped<K,JImmutableList<V>>
@Immutable
public class JImmutableInsertOrderListMap<K,V>
- extends AbstractJImmutableListMap<K,V>
JImmutableListMap implementation that allows keys to be traversed in the same order as they
were inserted into the collection.
Methods inherited from class org.javimmutable.collections.listmap.AbstractJImmutableListMap |
assign, copyList, cursor, delete, deleteAll, emptyList, equals, find, get, getList, getValueOr, hashCode, insert, insert, insertInList, isEmpty, iterator, keysCursor, size, toString, valuesCursor |
of
public static <K,V> JImmutableInsertOrderListMap<K,V> of()
create
protected JImmutableListMap<K,V> create(JImmutableMap<K,JImmutableList<V>> map)
- Description copied from class:
AbstractJImmutableListMap
- Implemented by derived classes to create a new instance of the appropriate class.
- Specified by:
create
in class AbstractJImmutableListMap<K,V>
- Returns:
Copyright © 2014 Burton Computer Corporation. All rights reserved.