edu.umn.cs.nlp.mt
Class Point

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean equals(Point point)
           
 int getX()
           
 int getY()
           
 int hashCode()
           
 boolean isAdjacentTo(Point point)
           
 boolean lessThan(Point point)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Point

public Point(int x,
             int y)
Method Detail

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