public class KeyedStrongReference<K,T> extends Object implements KeyedReference<K,T>
Constructor and Description |
---|
KeyedStrongReference(K key,
T ref) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
enqueue() |
T |
get() |
K |
getKey() |
ReferenceType |
getType() |
boolean |
isEnqueued() |
String |
toString() |
public ReferenceType getType()
getType
in interface KeyedReference<K,T>
public K getKey()
getKey
in interface KeyedReference<K,T>
public T get()
get
in interface KeyedReference<K,T>
Reference.get()
public void clear()
clear
in interface KeyedReference<K,T>
Reference.clear()
public boolean isEnqueued()
isEnqueued
in interface KeyedReference<K,T>
Reference.isEnqueued()
public boolean enqueue()
enqueue
in interface KeyedReference<K,T>
Reference.enqueue()
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html