public static class CompositeKeyCache.WeakOwnerKeyComposition extends WeakReference<Object> implements OwnerKeyComposition
For further details see OwnerKeyComposition
Constructor and Description |
---|
WeakOwnerKeyComposition(Object owner,
Object key,
ReferenceQueue<Object> referenceQueue) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
getKey()
Get the key of the composition, that's owned by the owner.
|
Object |
getOwner()
Get the owner of the composition, owning the corresponding key.
|
int |
hashCode() |
public WeakOwnerKeyComposition(Object owner, Object key, ReferenceQueue<Object> referenceQueue)
public Object getOwner()
OwnerKeyComposition
getOwner
in interface OwnerKeyComposition
public Object getKey()
OwnerKeyComposition
getKey
in interface OwnerKeyComposition
Copyright © 2024 levigo holding gmbh. All rights reserved.