org.xerial.util
Class Triplet<E,F,J>

java.lang.Object
  extended by org.xerial.util.Triplet<E,F,J>

public class Triplet<E,F,J>
extends Object

Triplet structure

Author:
leo

Constructor Summary
Triplet(E first, F second, J third)
           
 
Method Summary
 E getFirst()
           
 F getSecond()
           
 J getThird()
           
 void setFirst(E first)
           
 void setSecond(F second)
           
 void setThird(J third)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Triplet

public Triplet(E first,
               F second,
               J third)
Method Detail

getFirst

public E getFirst()
Returns:
Returns the first.

setFirst

public void setFirst(E first)
Parameters:
first - The first to set.

getSecond

public F getSecond()
Returns:
Returns the second.

setSecond

public void setSecond(F second)
Parameters:
second - The second to set.

getThird

public J getThird()
Returns:
Returns the third.

setThird

public void setThird(J third)
Parameters:
third - The third to set.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.