com.carrotsearch.hppc.caliper
Class MahoutMap

java.lang.Object
  extended by com.carrotsearch.hppc.caliper.MapImplementation<org.apache.mahout.math.map.OpenIntIntHashMap>
      extended by com.carrotsearch.hppc.caliper.MahoutMap

public class MahoutMap
extends MapImplementation<org.apache.mahout.math.map.OpenIntIntHashMap>


Field Summary
 
Fields inherited from class com.carrotsearch.hppc.caliper.MapImplementation
instance
 
Constructor Summary
MahoutMap()
           
 
Method Summary
 int containKeys(int[] keys)
          Return the number of keys this map has.
 int get(int k)
           
 void put(int k, int v)
           
 int putAll(int[] keys, int[] values)
           
 void remove(int k)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MahoutMap

public MahoutMap()
Method Detail

remove

public void remove(int k)
Specified by:
remove in class MapImplementation<org.apache.mahout.math.map.OpenIntIntHashMap>

put

public void put(int k,
                int v)
Specified by:
put in class MapImplementation<org.apache.mahout.math.map.OpenIntIntHashMap>

get

public int get(int k)
Specified by:
get in class MapImplementation<org.apache.mahout.math.map.OpenIntIntHashMap>

containKeys

public int containKeys(int[] keys)
Description copied from class: MapImplementation
Return the number of keys this map has.

Specified by:
containKeys in class MapImplementation<org.apache.mahout.math.map.OpenIntIntHashMap>

putAll

public int putAll(int[] keys,
                  int[] values)
Specified by:
putAll in class MapImplementation<org.apache.mahout.math.map.OpenIntIntHashMap>


Copyright © 2011 Carrot Search s.c.. All Rights Reserved.