Modifier and Type | Field and Description |
---|---|
static int |
NULL |
Constructor and Description |
---|
IntMap() |
IntMap(int tableOffset,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int[] |
getKeys()
Gets the array of keys in this map, sorted in ascending order.
|
int[][] |
getPairs()
Gets the key/value pairs.
|
int[][] |
getRanges()
Gets the key/value ranges.
|
int |
getSize() |
int |
getValue(int key) |
void |
putValue(int key,
int value) |
void |
removeValue(int key) |
public static final int NULL
public int getSize()
public void putValue(int key, int value)
public void removeValue(int key)
public int getValue(int key)
public int[] getKeys()
public int[][] getPairs()
pairs[i] = {key, value}
public int[][] getRanges()
ranges = {{keyMin, keyMax}, {valueMin, valueMax}}
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.