KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > uk > co > jezuk > mango > Triplet


1 package uk.co.jezuk.mango;
2
3 /**
4  * A <code>Triplet</code> holds three <code>Object</code>s.
5  * @author Jez Higgins, Jez UK Ltd
6  * @version $Id: Triplet.java 39 2002-04-11 09:46:21Z jez $
7  */

8 public class Triplet
9 {
10   public Triplet()
11   {
12     first = null;
13     second = null;
14     third = null;
15   } // Triplet
16

17   public Triplet(Object JavaDoc one, Object JavaDoc two, Object JavaDoc three)
18   {
19     first = one;
20     second = two;
21     third = three;
22   } // Triplet
23

24   public Object JavaDoc first;
25   public Object JavaDoc second;
26   public Object JavaDoc third;
27 } // class Triplet
28
Popular Tags