public class DblArrayCountHashMap extends Object
Modifier and Type | Field and Description |
---|---|
static int |
hashMissCount |
Constructor and Description |
---|
DblArrayCountHashMap(int init_capacity) |
Modifier and Type | Method and Description |
---|---|
ArrayList<DArrCounts> |
extractValues() |
int |
get(DblArray key)
Get the value on a key, if the key is not inside a NullPointerException is thrown.
|
int |
increment(DblArray key)
Increment the key, and return the Id of the value incremented.
|
void |
reset(int size) |
int |
size() |
String |
toString() |
public int size()
public int increment(DblArray key)
key
- DblArray keypublic int get(DblArray key)
key
- the key to lookuppublic ArrayList<DArrCounts> extractValues()
public void reset(int size)
Copyright © 2021 The Apache Software Foundation. All rights reserved.