KickJava   Java API By Example, From Geeks To Geeks.

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


1 package uk.co.jezuk.mango;
2
3 /**
4  * A <code>Pair</code> holds two <code>Object</code>s.
5  * @author Jez Higgins, Jez UK Ltd
6  * @version $Id: Pair.java 30 2002-04-08 18:24:22Z jez $
7  */

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

16   public Pair(Object JavaDoc one, Object JavaDoc two)
17   {
18     first = one;
19     second = two;
20   } // Pair
21

22   public Object JavaDoc first;
23   public Object JavaDoc second;
24 } // class Pair
25
Popular Tags