org.glassfish.gmbal.generic
Class Triple<S,T,U>

java.lang.Object
  extended by org.glassfish.gmbal.generic.Triple<S,T,U>

public class Triple<S,T,U>
extends Object

Represents a Triple of values. Used to return multiple values and other similar uses.


Constructor Summary
Triple(S first, T second, U third)
           
 
Method Summary
 boolean equals(Object obj)
           
 S first()
           
 int hashCode()
           
 T second()
           
 U third()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Triple

public Triple(S first,
              T second,
              U third)
Method Detail

first

public S first()

second

public T second()

third

public U third()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.