sidekick.util
Class Location

java.lang.Object
  extended by sidekick.util.Location
All Implemented Interfaces:
java.lang.Comparable

public class Location
extends java.lang.Object
implements java.lang.Comparable

danson: Class to represent a location in a source file by line and column.


Field Summary
 int column
           
 int line
           
 
Constructor Summary
Location()
           
Location(int line, int column)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

line

public int line

column

public int column
Constructor Detail

Location

public Location()

Location

public Location(int line,
                int column)
Method Detail

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object