Package | Description |
---|---|
com.sun.jini.collection |
Various collection classes used internally by code in
com.sun.jini classes. |
Modifier and Type | Field and Description |
---|---|
protected WeakSoftTable.WeakKey |
WeakSoftTable.SoftValue.key
The associated key.
|
Modifier and Type | Method and Description |
---|---|
void |
WeakSoftTable.add(WeakSoftTable.WeakKey key,
WeakSoftTable.SoftValue value)
Associates an additional value with the specified key.
|
WeakSoftTable.SoftValue |
WeakSoftTable.get(WeakSoftTable.WeakKey key,
int index)
Returns the value associated with the specified key and index, or null
if not found.
|
WeakSoftTable.SoftValue |
WeakSoftTable.remove(WeakSoftTable.WeakKey key,
int index)
Removes and returns the index'th value associated with the specified
key.
|
Constructor and Description |
---|
SoftValue(WeakSoftTable.WeakKey key,
Object value)
Creates a value for the associated key that retains a soft reference
to value.
|
WeakKey(WeakSoftTable.WeakKey weakKey,
ReferenceQueue queue)
Creates a copy of the key registered with the queue.
|
Copyright © GigaSpaces.