diff options
Diffstat (limited to 'src/de/lmu/ifi/dbs/elki/utilities/pairs/DoubleIntPair.java')
-rw-r--r-- | src/de/lmu/ifi/dbs/elki/utilities/pairs/DoubleIntPair.java | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/src/de/lmu/ifi/dbs/elki/utilities/pairs/DoubleIntPair.java b/src/de/lmu/ifi/dbs/elki/utilities/pairs/DoubleIntPair.java index be18c712..731d5cf6 100644 --- a/src/de/lmu/ifi/dbs/elki/utilities/pairs/DoubleIntPair.java +++ b/src/de/lmu/ifi/dbs/elki/utilities/pairs/DoubleIntPair.java @@ -4,7 +4,7 @@ package de.lmu.ifi.dbs.elki.utilities.pairs; 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 @@ -28,14 +28,11 @@ import java.util.Comparator; /** * Pair storing an integer and a double. * - * Since double and int are native types, this can't be done via the - * {@link CPair} generic. - * * @author Erich Schubert * * @apiviz.has Comparator */ -public class DoubleIntPair implements Comparable<DoubleIntPair>, PairInterface<Double, Integer> { +public class DoubleIntPair implements Comparable<DoubleIntPair> { /** * first value */ @@ -122,15 +119,6 @@ public class DoubleIntPair implements Comparable<DoubleIntPair>, PairInterface<D } /** - * @deprecated use pair.first to avoid boxing! - */ - @Override - @Deprecated - public final Double getFirst() { - return Double.valueOf(first); - } - - /** * Set first value * * @param first new value @@ -140,15 +128,6 @@ public class DoubleIntPair implements Comparable<DoubleIntPair>, PairInterface<D } /** - * @deprecated use pair.first to avoid boxing! - */ - @Override - @Deprecated - public final Integer getSecond() { - return Integer.valueOf(second); - } - - /** * Set second value * * @param second new value |