Class Pair<T>
java.lang.Object
kieker.analysis.generic.clustering.mtree.utils.Pair<T>
- Type Parameters:
T
- The type of the objects.
public class Pair<T>
extends java.lang.Object
A pair of objects of the same type.
- Since:
- 2.0.0
- Author:
- Eduardo R. D'Avila
-
Constructor Details
-
Method Details
-
get
Accesses an object by its index. Thefirst
object has index0
and thesecond
object has index1
.- Parameters:
index
- The index of the object to be accessed.- Returns:
- The
first
object ifindex
is0
; thesecond
object ifindex
is1
. - Throws:
InteranlErrorException
- Ifindex
is neither0
or1
.InternalErrorException
-
getFirst
-
getSecond
-