### Question:
Triple { public Triple(T first, U second, V third) { this.first = first; this.second = second; this.third = third; } Triple(T first, U second, V third); T getFirst(); U getSecond(); V getThird();  }### Answer:
@Test void testTriple() { final Triple<String, Double, Integer> triple = new Triple<>("foo", 1.337, 1337); assertEquals("foo", triple.getFirst()); assertEquals(1.337, triple.getSecond()); assertEquals(1337, triple.getThird()); }