public interface ModifiableDoubleDistanceDBIDList extends DoubleDistanceDBIDList, ModifiableDistanceDBIDList<DoubleDistance>
Modifier and Type | Method and Description |
---|---|
void |
add(double dist,
DBIDRef id)
Add an element.
|
void |
add(DoubleDistanceDBIDPair pair)
Add an element.
|
void |
add(DoubleDistance dist,
DBIDRef id)
Deprecated.
Pass a double value instead.
|
void |
clear()
Clear the list contents.
|
get, iter
sort
size
@Deprecated void add(DoubleDistance dist, DBIDRef id)
add
in interface ModifiableDistanceDBIDList<DoubleDistance>
dist
- Distanceid
- IDvoid add(double dist, DBIDRef id)
dist
- Distanceid
- IDvoid add(DoubleDistanceDBIDPair pair)
pair
- Pair to addvoid clear()