org.javimmutable.collections.listmap
Class JImmutableHashListMap<K,V>

java.lang.Object
  extended by org.javimmutable.collections.listmap.AbstractJImmutableListMap<K,V>
      extended by 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.


Method Summary
protected  JImmutableListMap<K,V> create(JImmutableMap<K,JImmutableList<V>> map)
          Implemented by derived classes to create a new instance of the appropriate class.
static
<K,V> JImmutableHashListMap<K,V>
of()
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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.