Package elki.database.datastore
Class DataStoreUtil.DescendingByIntegerDataStore
- java.lang.Object
-
- elki.database.datastore.DataStoreUtil.DescendingByIntegerDataStore
-
- All Implemented Interfaces:
java.util.Comparator<DBIDRef>
- Enclosing class:
- DataStoreUtil
public static class DataStoreUtil.DescendingByIntegerDataStore extends java.lang.Object implements java.util.Comparator<DBIDRef>
Sort objects by a integer relation- Author:
- Erich Schubert, Julian Erhard
-
-
Field Summary
Fields Modifier and Type Field Description private IntegerDataStore
scores
Scores to use for sorting.
-
Constructor Summary
Constructors Constructor Description DescendingByIntegerDataStore(IntegerDataStore scores)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(DBIDRef id1, DBIDRef id2)
-
-
-
Field Detail
-
scores
private final IntegerDataStore scores
Scores to use for sorting.
-
-
Constructor Detail
-
DescendingByIntegerDataStore
public DescendingByIntegerDataStore(IntegerDataStore scores)
Constructor.- Parameters:
scores
- Scores for sorting
-
-