|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference<V>
oracle.javatools.util.Maps.WeakLinkedEntry<K,V>
K - The type of key stored by the entry.V - The type of value stored by the entry.public static class Maps.WeakLinkedEntry<K,V>
An Maps.LinkedEntry implementation which holds its value with a WeakReference.
Because the referent of a weak reference cannot be changed, the setValue(V) method throws UnsupportedOperationException if invoked.
Maps.WeakLinkedHashMap| Constructor Summary | |
|---|---|
protected |
Maps.WeakLinkedEntry(int keyHashCode, K key, V value, Maps.LinkedEntry<K,V> next, java.lang.ref.ReferenceQueue<V> queue) |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object) |
Maps.LinkedEntry<K,V> |
getAfter()Gets the next entry in the iteration list of the containing map. |
Maps.LinkedEntry<K,V> |
getBefore()Gets the previous entry in the iteration list of the containing map. |
K |
getKey() |
Maps.BaseEntry<K,V> |
getNext()Gets the next entry in the containing hash chain of the containing map. |
V |
getValue() |
int |
hashCode() |
boolean |
isMutable()Gets whether this entry is mutable, in particular whether Map.Entry.setValue(V) is supported. |
int |
keyHashCode()Gets the hash code of the key in this entry. |
void |
setAfter(Maps.LinkedEntry<K,V> after)Sets the next entry in the iteration list of the containing map. |
void |
setBefore(Maps.LinkedEntry<K,V> before)Sets the previous entry in the iteration list of the containing map. |
void |
setNext(Maps.BaseEntry<K,V> next)Sets the next entry in the containing hash chain of the containing map. |
V |
setValue(V newValue) |
java.lang.String |
toString() |
| Methods inherited from class java.lang.ref.Reference |
|---|
clear, enqueue, get, isEnqueued |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Maps.WeakLinkedEntry(int keyHashCode,
K key,
V value,
Maps.LinkedEntry<K,V> next,
java.lang.ref.ReferenceQueue<V> queue)
| Method Detail |
|---|
public K getKey()
getKey in interface java.util.Map.Entry<K,V>public V getValue()
getValue in interface java.util.Map.Entry<K,V>public V setValue(V newValue)
setValue in interface java.util.Map.Entry<K,V>public Maps.BaseEntry<K,V> getNext()
Maps.BaseEntrygetNext in interface Maps.BaseEntry<K,V>public void setNext(Maps.BaseEntry<K,V> next)
Maps.BaseEntrysetNext in interface Maps.BaseEntry<K,V>public int keyHashCode()
Maps.BaseEntrykeyHashCode in interface Maps.BaseEntry<K,V>public boolean isMutable()
Maps.BaseEntryMap.Entry.setValue(V) is supported.isMutable in interface Maps.BaseEntry<K,V>public final Maps.LinkedEntry<K,V> getBefore()
Maps.LinkedEntrygetBefore in interface Maps.LinkedEntry<K,V>public final Maps.LinkedEntry<K,V> getAfter()
Maps.LinkedEntrygetAfter in interface Maps.LinkedEntry<K,V>public final void setBefore(Maps.LinkedEntry<K,V> before)
Maps.LinkedEntrysetBefore in interface Maps.LinkedEntry<K,V>public final void setAfter(Maps.LinkedEntry<K,V> after)
Maps.LinkedEntrysetAfter in interface Maps.LinkedEntry<K,V>public boolean equals(java.lang.Object object)
equals in interface java.util.Map.Entry<K,V>equals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Map.Entry<K,V>hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||