001 package net.minecraft.util; 002 003 public class Tuple 004 { 005 /** First Object in the Tuple */ 006 private Object first; 007 008 /** Second Object in the Tuple */ 009 private Object second; 010 011 public Tuple(Object par1Obj, Object par2Obj) 012 { 013 this.first = par1Obj; 014 this.second = par2Obj; 015 } 016 017 /** 018 * Get the first Object in the Tuple 019 */ 020 public Object getFirst() 021 { 022 return this.first; 023 } 024 025 /** 026 * Get the second Object in the Tuple 027 */ 028 public Object getSecond() 029 { 030 return this.second; 031 } 032 }