jfun.parsec
Class Tuple3<A,B,C>

java.lang.Object
  extended by jfun.parsec.Pair<A,B>
      extended by jfun.parsec.Tuple3<A,B,C>
Type Parameters:
A -
B -
C -
Direct Known Subclasses:
Tuple4

public class Tuple3<A,B,C>
extends Pair<A,B>

This is a simple Java Bean for 3 objects.

Since:
version 1.1
Author:
Ben Yu Apr 24, 2006 1:43:12 PM

Constructor Summary
Tuple3()
           
Tuple3(A value1, B value2, C value3)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 boolean equals(Tuple3 other)
           
 C getValue3()
           
 int hashCode()
           
 void setValue3(C value3)
           
 java.lang.String toString()
           
 
Methods inherited from class jfun.parsec.Pair
equals, getValue1, getValue2, setValue1, setValue2
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tuple3

public Tuple3()

Tuple3

public Tuple3(A value1,
              B value2,
              C value3)
Method Detail

getValue3

public C getValue3()

setValue3

public void setValue3(C value3)

equals

public boolean equals(Tuple3 other)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class Pair<A,B>

hashCode

public int hashCode()
Overrides:
hashCode in class Pair<A,B>

toString

public java.lang.String toString()
Overrides:
toString in class Pair<A,B>