|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectcom.caucho.hessian.util.IdentityIntMap
public class IdentityIntMap
The IntMap provides a simple hashmap from keys to integers. The API is an abbreviation of the HashMap collection API.
The convenience of IntMap is avoiding all the silly wrapping of integers.
字段摘要 | |
---|---|
static int |
NULL
Encoding of a null entry. |
static int[] |
PRIMES
|
构造方法摘要 | |
---|---|
IdentityIntMap(int capacity)
Create a new IntMap. |
方法摘要 | |
---|---|
void |
clear()
Clear the hashmap. |
int |
get(java.lang.Object key)
Puts a new value in the property table with the appropriate flags |
static int |
getBiggestPrime(int value)
|
int |
put(java.lang.Object key,
int value,
boolean isReplace)
Puts a new value in the property table with the appropriate flags |
void |
remove(java.lang.Object key)
Removes a value in the property table. |
int |
size()
Returns the current number of entries in the map. |
java.lang.String |
toString()
|
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
字段详细信息 |
---|
public static final int NULL
public static final int[] PRIMES
构造方法详细信息 |
---|
public IdentityIntMap(int capacity)
方法详细信息 |
---|
public void clear()
public final int size()
public final int get(java.lang.Object key)
public final int put(java.lang.Object key, int value, boolean isReplace)
public final void remove(java.lang.Object key)
public java.lang.String toString()
java.lang.Object
中的 toString
public static int getBiggestPrime(int value)
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |