|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.util.HashMap2D
This class represents a 2-dimensional hashmap. A 2-dimensional hashmap uses an ordered pair of keys to access associated data.
Constructor Summary | |
HashMap2D()
Creates a new instance of HashMap2D. |
|
HashMap2D(int capacity)
Creates a new instance of HashMap2D with given initial capacity |
Method Summary | |
boolean |
containsKey(Object key1,
Object key2)
Tests if the specified objects are a pair of keys in this hashtable. |
Object |
get(Object key1,
Object key2)
Returns the value to which the specified pair of keys is mapped. |
void |
put(Object key1,
Object key2,
Object value)
Maps the specified pair of keys to the specified value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HashMap2D()
public HashMap2D(int capacity)
Method Detail |
public void put(Object key1, Object key2, Object value)
public boolean containsKey(Object key1, Object key2)
public Object get(Object key1, Object key2)
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |