public class IntToObjectArrayMap<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAXIMUM_CAPACITY |
static Object |
NOT_FOUND |
| Constructor and Description |
|---|
IntToObjectArrayMap() |
IntToObjectArrayMap(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(int key) |
T |
get(int key) |
T |
getOrUpdate(int key,
Supplier<T> producer) |
static void |
main(String[] args) |
void |
put(int key,
T value) |
public static final Object NOT_FOUND
public static final int MAXIMUM_CAPACITY
public IntToObjectArrayMap()
public IntToObjectArrayMap(int initialCapacity)
Copyright © 2019. All rights reserved.