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,
           int value) | 
| void | appendValue(double key,
           IntArrayList value) | 
| ArrayList<DoubleIntListHashMap.DIListEntry> | extractValues() | 
| IntArrayList | get(double key) | 
| String | toString() | 
joinHashMap, joinHashMaps, sizepublic DoubleIntListHashMap()
public DoubleIntListHashMap(int init_capacity)
public IntArrayList get(double key)
public void appendValue(double key,
                        IntArrayList value)
public void appendValue(double key,
                        int value)
public ArrayList<DoubleIntListHashMap.DIListEntry> extractValues()
Copyright © 2021 The Apache Software Foundation. All rights reserved.