edu.stanford.nlp.util
Class IntPair

java.lang.Object
  extended by edu.stanford.nlp.util.IntTuple
      extended by edu.stanford.nlp.util.IntPair
All Implemented Interfaces:
Serializable, Comparable<IntTuple>

public class IntPair
extends IntTuple

See Also:
Serialized Form

Constructor Summary
IntPair()
           
IntPair(int src, int trgt)
           
 
Method Summary
 boolean equals(Object iO)
           
 IntTuple getCopy()
           
 int getSource()
           
 int getTarget()
           
 int hashCode()
           
 
Methods inherited from class edu.stanford.nlp.util.IntTuple
compareTo, concat, elems, get, getIntTuple, getIntTuple, length, print, set, shiftLeft, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntPair

public IntPair()

IntPair

public IntPair(int src,
               int trgt)
Method Detail

getSource

public int getSource()

getTarget

public int getTarget()

getCopy

public IntTuple getCopy()
Overrides:
getCopy in class IntTuple

equals

public boolean equals(Object iO)
Overrides:
equals in class IntTuple

hashCode

public int hashCode()
Overrides:
hashCode in class IntTuple


Stanford NLP Group