com.samskivert.util
Class IntMaps

java.lang.Object
  extended by 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();


Constructor Summary
IntMaps()
           
 
Method Summary
static
<V> HashIntMap<V>
newHashIntMap()
          Creates a HashIntMap instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntMaps

public IntMaps()
Method Detail

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.