com.samskivert.util
Class IntMaps
java.lang.Object
com.samskivert.util.IntMaps
public class IntMaps
- extends Object
Provides static methods for creating mutable IntMap instances easily.
You can replace code like:
IntMap<String> map = new HashIntMap<String>();
with just:
IntMap<String> map = IntMaps.newHashIntMap();
|
Method Summary |
static
|
newHashIntMap()
Creates a HashIntMap instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntMaps
public IntMaps()
newHashIntMap
public static <V> HashIntMap<V> newHashIntMap()
- Creates a
HashIntMap instance.
- Returns:
- a newly-created, initially-empty
HashIntMap
Copyright © 2000-2008 Michael Bayne.
All Rights Reserved.