public class IdentityIntMap extends Object
The convenience of IntMap is avoiding all the silly wrapping of integers.
| Modifier and Type | Field and Description |
|---|---|
static int |
NULL
Encoding of a null entry.
|
| Constructor and Description |
|---|
IdentityIntMap()
Create a new IntMap.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear the hashmap.
|
int |
get(Object key)
Puts a new value in the property table with the appropriate flags
|
int |
put(Object key,
int value)
Puts a new value in the property table with the appropriate flags
|
int |
remove(Object key)
Deletes the entry.
|
int |
size()
Returns the current number of entries in the map.
|
String |
toString() |
public static final int NULL
public void clear()
public int size()
public int get(Object key)
public int put(Object key, int value)
public int remove(Object key)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.