1 package cz.cuni.amis.utils; 2 3 public class Tuple3<FIRST, SECOND, THIRD> { 4 5 private FIRST first; 6 private SECOND second; 7 private THIRD third; 8 9 public Tuple3(FIRST first, SECOND second, THIRD third) { 10 this.first = first; 11 this.second = second; 12 this.third = third; 13 } 14 15 public FIRST getFirst() { 16 return first; 17 } 18 19 public void setFirst(FIRST first) { 20 this.first = first; 21 } 22 23 public SECOND getSecond() { 24 return second; 25 } 26 27 public void setSecond(SECOND second) { 28 this.second = second; 29 } 30 31 public THIRD getThird() { 32 return third; 33 } 34 35 public void setThird(THIRD third) { 36 this.third = third; 37 } 38 39 }