Interface DBIDPair

  • All Superinterfaces:
    ArrayDBIDs, DBIDs
    All Known Implementing Classes:
    IntegerDBIDPair

    public interface DBIDPair
    extends ArrayDBIDs
    Immutable pair of two DBIDs, more memory efficient than two DBIDs.
    Since:
    0.4.0
    Author:
    Erich Schubert
    • Method Detail

      • getFirst

        @Deprecated
        DBID getFirst()
        Deprecated.
        This method can be expensive. The use of a DBIDVar is recommended when many such accesses are needed.
        Getter for first.
        Returns:
        first element in pair
      • getSecond

        @Deprecated
        DBID getSecond()
        Deprecated.
        This method can be expensive. The use of a DBIDVar is recommended when many such accesses are needed.
        Getter for second element in pair
        Returns:
        second element in pair