public interface ComparableModifiable<T,V>
extends java.lang.Comparable<T>
Modifier and Type | Method and Description |
---|---|
int |
compareWithValue(V value) |
void |
modifyValue(V value)
Sets the priority´s value of the element
|
void modifyValue(V value)
value
- the new value of the priorityint compareWithValue(V value)
value
- the object to be compared with this