|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectariba.util.core.GrowOnlyGridTable
public class GrowOnlyGridTable
A two-dimensional GrowOnlyHashtable. That is, a collection of non-null objects indexed by 2 keys.
| Field Summary | |
|---|---|
static String |
ClassName
|
| Constructor Summary | |
|---|---|
GrowOnlyGridTable()
|
|
| Method Summary | |
|---|---|
Object |
get(Object key1,
Object key2)
Return the element indexed by |
GrowOnlyGridTable |
getReducedTable(List skippedPrimaryKeys)
Return a new GrowOnlyGridTable with reduced content. |
Set |
primaryKeySet()
Returns the set of keys in the primary table. |
Object |
put(Object key1,
Object key2,
Object element)
Store the specified element indexed by |
List |
secondaryElementsList(Object primaryKey)
Returns unique objects in the gridtable as a list given a primary key. |
Set |
secondaryKeySet(Object primaryKey)
Returns the set of keys in the secondary table corresponding to the primary key. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ClassName
| Constructor Detail |
|---|
public GrowOnlyGridTable()
| Method Detail |
|---|
public Object put(Object key1,
Object key2,
Object element)
public Object get(Object key1,
Object key2)
public List secondaryElementsList(Object primaryKey)
public Set primaryKeySet()
public Set secondaryKeySet(Object primaryKey)
public GrowOnlyGridTable getReducedTable(List skippedPrimaryKeys)
table
but will skip copying the keys in skippedPrimaryKeys
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||