|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.util.IntTuple
edu.stanford.nlp.util.IntPair
public class IntPair
Constructor Summary | |
---|---|
IntPair()
|
|
IntPair(int src,
int trgt)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object iO)
|
IntTuple |
getCopy()
|
int |
getSource()
Return the first element of the pair |
int |
getTarget()
Return the second element of the pair |
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 |
---|
public IntPair()
public IntPair(int src, int trgt)
Method Detail |
---|
public int getSource()
public int getTarget()
public IntTuple getCopy()
getCopy
in class IntTuple
public boolean equals(java.lang.Object iO)
equals
in class IntTuple
public int hashCode()
hashCode
in class IntTuple
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |