|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcop3337.BoundedArrayIntMap
public class BoundedArrayIntMap
| Constructor Summary | |
|---|---|
BoundedArrayIntMap(int max)
|
|
| Method Summary | |
|---|---|
int[] |
allKeys()
|
Pair[] |
allPairs()
|
int[] |
allValues()
|
boolean |
containsKey(int key)
|
int |
get(int k)
|
boolean |
isEmpty()
|
void |
put(int k,
int v)
|
boolean |
remove(int k)
|
int |
size()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BoundedArrayIntMap(int max)
| Method Detail |
|---|
public void put(int k,
int v)
put in interface IntMappublic boolean remove(int k)
remove in interface IntMappublic boolean containsKey(int key)
containsKey in interface IntMappublic int get(int k)
get in interface IntMappublic int[] allKeys()
allKeys in interface IntMappublic int[] allValues()
allValues in interface IntMappublic Pair[] allPairs()
allPairs in interface IntMappublic int size()
size in interface IntMappublic boolean isEmpty()
isEmpty in interface IntMappublic 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 | ||||||||