1 package IrrigationController;
3 /** Class Tuple used for storing a pair of objects together
5 * Referenced from: http://stackoverflow.com/questions/2670982/using-pairs-or-2-tuples-in-java
7 * @author Ali Younis <ayounis @ uci.edu>
12 public class Tuple<X, Y> {
14 // The tuple object internal objects have no protection
15 // Assume that the user will use these in a safe way
22 * @param x [X], x value of tuple.
23 * @param y [Y], y value of tuple.
26 public Tuple(X x, Y y) {