net.java.quickcheck.collection
Class Triple<A,B,C>

java.lang.Object
  extended by net.java.quickcheck.collection.Pair<A,B>
      extended by net.java.quickcheck.collection.Triple<A,B,C>
Type Parameters:
A - type of first entry
B - type of second entry
C - type of third entry

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

A tuple of three values.


Constructor Summary
Triple(A first, B second, C third)
           
 
Method Summary
 boolean equals(Object obj)
           
 C getThird()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class net.java.quickcheck.collection.Pair
getFirst, getSecond
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Triple

public Triple(A first,
              B second,
              C third)
Method Detail

hashCode

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

equals

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

getThird

public C getThird()

toString

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


Copyright © 2011. All Rights Reserved.