package net.knarcraft.stargate; /** * This class allows storing two values of any type * * @param

The first type

* @param

The second type

*/ public class TwoTuple { private final K firstValue; private final L secondValue; /** * Instantiate a new TwoTuple * * @param firstValue

The first value

* @param secondValue

The second value

*/ public TwoTuple(K firstValue, L secondValue) { this.firstValue = firstValue; this.secondValue = secondValue; } /** * Gets the first value * * @return

The first value

*/ public K getFirstValue() { return firstValue; } /** * Gets the second value * * @return

The second value

*/ public L getSecondValue() { return secondValue; } }