public final class FastByIDFloatMap extends Object implements Serializable, Cloneable
FastByIDMap; used with float instead of double.| Modifier and Type | Class and Description |
|---|---|
static interface |
FastByIDFloatMap.MapEntry |
| Constructor and Description |
|---|
FastByIDFloatMap()
Creates a new with default capacity.
|
FastByIDFloatMap(int size) |
FastByIDFloatMap(int size,
float loadFactor) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
FastByIDFloatMap |
clone() |
boolean |
containsKey(long key) |
Set<FastByIDFloatMap.MapEntry> |
entrySet() |
boolean |
equals(Object other) |
float |
get(long key) |
int |
hashCode() |
void |
increment(long key,
float delta) |
boolean |
isEmpty() |
org.apache.mahout.cf.taste.impl.common.LongPrimitiveIterator |
keySetIterator() |
void |
put(long key,
float value) |
void |
rehash() |
void |
remove(long key) |
int |
size() |
String |
toString() |
public FastByIDFloatMap()
public FastByIDFloatMap(int size)
public FastByIDFloatMap(int size,
float loadFactor)
public float get(long key)
public void increment(long key,
float delta)
public int size()
public boolean isEmpty()
public boolean containsKey(long key)
public void put(long key,
float value)
public void remove(long key)
public void clear()
public org.apache.mahout.cf.taste.impl.common.LongPrimitiveIterator keySetIterator()
public Set<FastByIDFloatMap.MapEntry> entrySet()
public void rehash()
public FastByIDFloatMap clone()
Copyright © 2012-2013 Myrrix Ltd. All Rights Reserved.