it.unimi.dsi.arscif
Class ARSCIFOpenHashMap

java.lang.Object
  extended by it.unimi.dsi.fastutil.objects.AbstractObject2ObjectMap
      extended by it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap
          extended by it.unimi.dsi.arscif.ARSCIFOpenHashMap
All Implemented Interfaces:
ARSCIFMap, Hash, Object2ObjectMap, Serializable, Cloneable, Map

public class ARSCIFOpenHashMap
extends Object2ObjectOpenHashMap
implements ARSCIFMap

An implementation based on open hash maps of the ARSCIF map inteface.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.objects.AbstractObject2ObjectMap
AbstractObject2ObjectMap.BasicEntry
 
Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.objects.Object2ObjectMap
Object2ObjectMap.Entry
 
Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.Hash
Hash.Strategy
 
Field Summary
 
Fields inherited from class it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap
count, entries, f, free, growthFactor, key, keys, maxFill, p, serialVersionUID, state, value, values
 
Fields inherited from class it.unimi.dsi.fastutil.objects.AbstractObject2ObjectMap
defRetValue
 
Fields inherited from interface it.unimi.dsi.fastutil.Hash
DEFAULT_GROWTH_FACTOR, DEFAULT_INITIAL_SIZE, DEFAULT_LOAD_FACTOR, FREE, OCCUPIED, PRIMES, REMOVED
 
Constructor Summary
ARSCIFOpenHashMap()
          Creates a new empty map.
 
Method Summary
 Object get(Object k)
           
 boolean getBoolean(String k)
           
 byte getByte(String k)
           
 double getDouble(String k)
           
 float getFloat(String k)
           
 int getInt(String k)
           
 long getLong(String k)
           
 short getShort(String k)
           
 Object put(Object k, Object v)
           
 void put(String k, boolean v)
           
 void put(String k, byte v)
           
 void put(String k, double v)
           
 void put(String k, float v)
           
 void put(String k, int v)
           
 void put(String k, long v)
           
 void put(String k, short v)
           
 Object remove(Object k)
           
 
Methods inherited from class it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap
clear, clone, containsKey, containsValue, entrySet, growthFactor, growthFactor, hashCode, isEmpty, keySet, rehash, rehash, size, trim, trim, values
 
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObject2ObjectMap
defaultReturnValue, defaultReturnValue, equals, getDefRetValue, putAll, setDefRetValue, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface it.unimi.dsi.fastutil.objects.Object2ObjectMap
defaultReturnValue, defaultReturnValue, getDefRetValue, setDefRetValue
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, hashCode, isEmpty, keySet, putAll, size, values
 

Constructor Detail

ARSCIFOpenHashMap

public ARSCIFOpenHashMap()
Creates a new empty map.

Method Detail

get

public Object get(Object k)
Specified by:
get in interface Map
Overrides:
get in class Object2ObjectOpenHashMap

getBoolean

public boolean getBoolean(String k)
Specified by:
getBoolean in interface ARSCIFMap

getByte

public byte getByte(String k)
Specified by:
getByte in interface ARSCIFMap

getShort

public short getShort(String k)
Specified by:
getShort in interface ARSCIFMap

getInt

public int getInt(String k)
Specified by:
getInt in interface ARSCIFMap

getLong

public long getLong(String k)
Specified by:
getLong in interface ARSCIFMap

getFloat

public float getFloat(String k)
Specified by:
getFloat in interface ARSCIFMap

getDouble

public double getDouble(String k)
Specified by:
getDouble in interface ARSCIFMap

put

public Object put(Object k,
                  Object v)
Specified by:
put in interface Map
Overrides:
put in class Object2ObjectOpenHashMap

put

public void put(String k,
                boolean v)
Specified by:
put in interface ARSCIFMap

put

public void put(String k,
                byte v)
Specified by:
put in interface ARSCIFMap

put

public void put(String k,
                short v)
Specified by:
put in interface ARSCIFMap

put

public void put(String k,
                int v)
Specified by:
put in interface ARSCIFMap

put

public void put(String k,
                long v)
Specified by:
put in interface ARSCIFMap

put

public void put(String k,
                float v)
Specified by:
put in interface ARSCIFMap

put

public void put(String k,
                double v)
Specified by:
put in interface ARSCIFMap

remove

public Object remove(Object k)
Specified by:
remove in interface Map
Overrides:
remove in class Object2ObjectOpenHashMap