summaryrefslogtreecommitdiff
path: root/src/de/lmu/ifi/dbs/elki/database/ids/DoubleDBIDPair.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/lmu/ifi/dbs/elki/database/ids/DoubleDBIDPair.java')
-rw-r--r--src/de/lmu/ifi/dbs/elki/database/ids/DoubleDBIDPair.java35
1 files changed, 6 insertions, 29 deletions
diff --git a/src/de/lmu/ifi/dbs/elki/database/ids/DoubleDBIDPair.java b/src/de/lmu/ifi/dbs/elki/database/ids/DoubleDBIDPair.java
index 970092b0..9459dbf6 100644
--- a/src/de/lmu/ifi/dbs/elki/database/ids/DoubleDBIDPair.java
+++ b/src/de/lmu/ifi/dbs/elki/database/ids/DoubleDBIDPair.java
@@ -4,7 +4,7 @@ package de.lmu.ifi.dbs.elki.database.ids;
This file is part of ELKI:
Environment for Developing KDD-Applications Supported by Index-Structures
- Copyright (C) 2013
+ Copyright (C) 2014
Ludwig-Maximilians-Universität München
Lehr- und Forschungseinheit für Datenbanksysteme
ELKI Development Team
@@ -23,42 +23,19 @@ package de.lmu.ifi.dbs.elki.database.ids;
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-import de.lmu.ifi.dbs.elki.utilities.pairs.PairInterface;
-
/**
- * Pair of a double value and a DBID
+ * Pair of a double value and a DBID.
+ *
+ * Note: this interface implements {@link DBIDRef}, i.e. it can be used as DBID
+ * object reference.
*
* @author Erich Schubert
*/
-public interface DoubleDBIDPair extends PairInterface<Double, DBID>, DBIDRef, Comparable<DoubleDBIDPair> {
+public interface DoubleDBIDPair extends DBIDRef, Comparable<DoubleDBIDPair> {
/**
* Get the double value of the pair.
*
* @return Double
*/
public double doubleValue();
-
- /**
- * Get the first object - note: this may cause autoboxing, use pair.first for
- * native pairs!
- *
- * @deprecated Avoid autoboxing. Use {@link #doubleValue}!
- *
- * @return First object
- */
- @Override
- @Deprecated
- public Double getFirst();
-
- /**
- * Get the second object - note: this may cause autoboxing, use pair.second
- * for native pairs!
- *
- * @deprecated Avoid autoboxing! Use {@link DBIDRef} interface!
- *
- * @return Second object
- */
- @Override
- @Deprecated
- public DBID getSecond();
}