fulmine.util.reference
Class TriValue<FIRST,SECOND,THIRD>

java.lang.Object
  extended by fulmine.util.reference.DualValue<FIRST,SECOND>
      extended by fulmine.util.reference.TriValue<FIRST,SECOND,THIRD>
Type Parameters:
FIRST - the first type
SECOND - the second type
THIRD - the third type
Direct Known Subclasses:
QuadValue

public class TriValue<FIRST,SECOND,THIRD>
extends DualValue<FIRST,SECOND>

Type safe object for holding 3 objects.

Author:
Ramon Servadei

Field Summary
 
Fields inherited from class fulmine.util.reference.DualValue
values
 
Constructor Summary
  TriValue(FIRST first, SECOND second, THIRD third)
           
protected TriValue(Values values)
           
 
Method Summary
 THIRD getThird()
          Get the third object from the constructor
 
Methods inherited from class fulmine.util.reference.DualValue
equals, getFirst, getSecond, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TriValue

public TriValue(FIRST first,
                SECOND second,
                THIRD third)

TriValue

protected TriValue(Values values)
Method Detail

getThird

public THIRD getThird()
Get the third object from the constructor

Returns:
the third object this was constructed with


Copyright © 2007-2009. All Rights Reserved.