jasm.util
Class Triple<FIRST,SECOND,THIRD>

java.lang.Object
  extended by jasm.util.Pair<FIRST,SECOND>
      extended by jasm.util.Triple<FIRST,SECOND,THIRD>
Type Parameters:
FIRST - Type of first item
SECOND - Type of second item
THIRD - Type of second item

public class Triple<FIRST,SECOND,THIRD>
extends Pair<FIRST,SECOND>

This class represents a triple of items

Author:
David J. Pearce

Field Summary
 THIRD third
           
 
Fields inherited from class jasm.util.Pair
first, second
 
Constructor Summary
Triple(FIRST f, SECOND s, THIRD t)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 THIRD third()
           
 java.lang.String toString()
           
 
Methods inherited from class jasm.util.Pair
first, second
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

third

public THIRD third
Constructor Detail

Triple

public Triple(FIRST f,
              SECOND s,
              THIRD t)
Method Detail

third

public THIRD third()

hashCode

public int hashCode()
Overrides:
hashCode in class Pair<FIRST,SECOND>

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class Pair<FIRST,SECOND>

toString

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


Copyright © 2013 David J. Pearce. All Rights Reserved.