sg.edu.nus.comp.nlp.ims.util
Class CPair<F,S>

java.lang.Object
  extended by sg.edu.nus.comp.nlp.ims.util.CPair<F,S>

public class CPair<F,S>
extends java.lang.Object

pair template

Author:
zhongzhi

Field Summary
protected  F m_First
           
protected  S m_Second
           
 
Constructor Summary
CPair(F p_First, S p_Second)
          constructor
 
Method Summary
 F getFirst()
          get first value
 S getSecond()
          get second value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_First

protected F m_First

m_Second

protected S m_Second
Constructor Detail

CPair

public CPair(F p_First,
             S p_Second)
constructor

Parameters:
p_First - first value
p_Second - second value
Method Detail

getFirst

public F getFirst()
get first value

Returns:
first

getSecond

public S getSecond()
get second value

Returns:
second