edu.umn.cs.nlp.mt
Class Point
java.lang.Object
edu.umn.cs.nlp.mt.Point
- All Implemented Interfaces:
- Equatable<Point>
public class Point
- extends Object
- implements Equatable<Point>
Represents an alignment point in a word alignment matrix.
- Version:
- $LastChangedDate: 2007-07-18 13:34:58 -0500 (Wed, 18 Jul 2007) $
- Author:
- Lane Schwartz
- See Also:
AlignmentMatrix
Constructor Summary |
Point(int x,
int y)
|
Point
public Point(int x,
int y)
isAdjacentTo
public boolean isAdjacentTo(Point point)
equals
public boolean equals(Point point)
- Specified by:
equals
in interface Equatable<Point>
lessThan
public boolean lessThan(Point point)
getX
public int getX()
getY
public int getY()
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object