public class DoubleIntListHashMap extends CustomHashMap
HashMap<Double,IntArrayList>
for restricted use cases.
TODO: Fix allocation of size such that it contains some amount of overhead from the start, to enable hashmap
performance.Modifier and Type | Class and Description |
---|---|
class |
DoubleIntListHashMap.DIListEntry |
Constructor and Description |
---|
DoubleIntListHashMap() |
DoubleIntListHashMap(int init_capacity) |
Modifier and Type | Method and Description |
---|---|
void |
appendValue(double key,
IntArrayList value) |
ArrayList<DoubleIntListHashMap.DIListEntry> |
extractValues() |
IntArrayList |
get(double key) |
size
public DoubleIntListHashMap()
public DoubleIntListHashMap(int init_capacity)
public IntArrayList get(double key)
public void appendValue(double key, IntArrayList value)
public ArrayList<DoubleIntListHashMap.DIListEntry> extractValues()
Copyright © 2020 The Apache Software Foundation. All rights reserved.