org.juzu.text
Class Coordinate

java.lang.Object
  extended by org.juzu.text.Coordinate
All Implemented Interfaces:
Serializable

public class Coordinate
extends Object
implements Serializable

Author:
Julien Viet
See Also:
Serialized Form

Constructor Summary
Coordinate(int offset, int col, int line)
           
Coordinate(int offset, Location position)
           
 
Method Summary
 int getOffset()
           
 Location getPosition()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Coordinate

public Coordinate(int offset,
                  Location position)

Coordinate

public Coordinate(int offset,
                  int col,
                  int line)
Method Detail

getOffset

public int getOffset()

getPosition

public Location getPosition()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 eXo Platform SAS. All Rights Reserved.