Top Description Fields Constructors Methods
org.stringtemplate.v4.misc

public Class Coordinate

extends Object
Class Inheritance

A line number and char position within a line. Used by the source mapping stuff to map address to range within a template.

Field Summary

Modifier and TypeField and Description
public int
public int

Constructor Summary

AccessConstructor and Description
public
Coordinate(int a, int b)

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

charPositionback to summary
public int charPosition
lineback to summary
public int line

Constructor Detail

Coordinateback to summary
public Coordinate(int a, int b)

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override