de.lmu.ifi.dbs.elki.database.ids
Interface DBIDPair

All Superinterfaces:
PairInterface<DBID,DBID>
All Known Implementing Classes:
IntegerDBIDPair

public interface DBIDPair
extends PairInterface<DBID,DBID>

Immutable pair of two DBIDs. This can be stored more efficiently than when using Pair


Method Summary
 DBID getFirst()
          Getter for first
 DBID getSecond()
          Getter for second element in pair
 

Method Detail

getFirst

DBID getFirst()
Getter for first

Specified by:
getFirst in interface PairInterface<DBID,DBID>
Returns:
first element in pair

getSecond

DBID getSecond()
Getter for second element in pair

Specified by:
getSecond in interface PairInterface<DBID,DBID>
Returns:
second element in pair

Release 0.4.0 (2011-09-20_1324)