|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.util.CaseInsensitiveIntMap
public class CaseInsensitiveIntMap
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.
Field Summary | |
---|---|
static int |
NULL
Encoding of a null entry. |
Constructor Summary | |
---|---|
CaseInsensitiveIntMap()
Create a new IntMap. |
Method Summary | |
---|---|
void |
clear()
Clear the hashmap. |
int |
get(char[] key,
int length)
Puts a new value in the property table with the appropriate flags |
void |
put(char[] key,
int length,
int value)
Puts a new value in the property table with the appropriate flags |
void |
put(java.lang.String key,
int value)
Puts a new value in the property table with the appropriate flags |
int |
size()
Returns the current number of entries in the map. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int NULL
Constructor Detail |
---|
public CaseInsensitiveIntMap()
Method Detail |
---|
public void clear()
public int size()
public int get(char[] key, int length)
public void put(char[] key, int length, int value)
public void put(java.lang.String key, int value)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |