public abstract class PriorityObjectAdapter<T> extends Object implements MutablePriorityObject<T>
Constructor and Description |
---|
PriorityObjectAdapter(T t) |
PriorityObjectAdapter(T t,
double priority) |
Modifier and Type | Method and Description |
---|---|
double |
getPriority() |
T |
getValue() |
void |
setPriority(double newPriority) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKey
public PriorityObjectAdapter(T t)
public PriorityObjectAdapter(T t, double priority)
public void setPriority(double newPriority)
setPriority
in interface MutablePriorityObject<T>
public T getValue()
getValue
in interface PriorityObject<T>
public double getPriority()
getPriority
in interface PriorityObject<T>
Copyright © 2012. All Rights Reserved.