cmu.survey.jsp.tags
Class Quadruple

java.lang.Object
  extended by cmu.survey.jsp.tags.Quadruple

public class Quadruple
extends java.lang.Object

This class, and the series of Pair, Triple, and Quadruple, are used for a sort-of ML-like compatibility -- in ML it's easy to return a Tuple of objects -- two objects, from one function, without declaring a new class. This is a lightweight way of returning two or more object where there is little justification for a new class to handle it.


Field Summary
 java.lang.Object item1
           
 java.lang.Object item2
           
 java.lang.Object item3
           
 java.lang.Object item4
           
 
Constructor Summary
Quadruple()
           
Quadruple(java.lang.Object item1, java.lang.Object item2, java.lang.Object item3, java.lang.Object item4)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

item1

public java.lang.Object item1

item2

public java.lang.Object item2

item3

public java.lang.Object item3

item4

public java.lang.Object item4
Constructor Detail

Quadruple

public Quadruple()

Quadruple

public Quadruple(java.lang.Object item1,
                 java.lang.Object item2,
                 java.lang.Object item3,
                 java.lang.Object item4)