com.jdroid.java.collections
Class Maps

java.lang.Object
  extended by com.jdroid.java.collections.Maps

public class Maps
extends Object


Constructor Summary
Maps()
           
 
Method Summary
static
<K,V> HashMap<K,V>
newHashMap()
          Creates a mutable, empty HashMap instance.
static
<K,V> LinkedHashMap<K,V>
newLinkedHashMap()
          Creates a mutable, empty, insertion-ordered LinkedHashMap instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Maps

public Maps()
Method Detail

newHashMap

public static <K,V> HashMap<K,V> newHashMap()
Creates a mutable, empty HashMap instance.

Returns:
a new, empty HashMap

newLinkedHashMap

public static <K,V> LinkedHashMap<K,V> newLinkedHashMap()
Creates a mutable, empty, insertion-ordered LinkedHashMap instance.

Returns:
a new, empty LinkedHashMap


Copyright © 2014. All rights reserved.