org.javimmutable.collections.listmap
Class JImmutableHashListMap<K,V>
java.lang.Object
org.javimmutable.collections.listmap.AbstractJImmutableListMap<K,V>
org.javimmutable.collections.listmap.JImmutableHashListMap<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 JImmutableHashListMap<K,V>
- extends AbstractJImmutableListMap<K,V>
JImmutableListMap using a hash map for fast lookup.
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> JImmutableHashListMap<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.