com.jdroid.java.collections
Class Maps
java.lang.Object
com.jdroid.java.collections.Maps
public class Maps
- extends Object
|
Constructor Summary |
Maps()
|
|
Method Summary |
static
|
newHashMap()
Creates a mutable, empty HashMap instance. |
static
|
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 |
Maps
public Maps()
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.