|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.util.HashMap2D
public class HashMap2D
This class represents a 2-dimensional hash map. A 2-dimensional hash map 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 hash table. |
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-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||