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. Thefirstobject has index0and thesecondobject has index1.- Parameters:
index- The index of the object to be accessed.- Returns:
- The
firstobject ifindexis0; thesecondobject ifindexis1. - Throws:
InteranlErrorException- Ifindexis neither0or1.InternalErrorException
-
getFirst
-
getSecond
-