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

public Class Interval

extends Object
Class Inheritance

An inclusive interval a..b. Used to track ranges in output and template patterns (for debugging).

Field Summary

Modifier and TypeField and Description
public int
a

public int
b

Constructor Summary

AccessConstructor and Description
public
Interval(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

aback to summary
public int a
bback to summary
public int b

Constructor Detail

Intervalback to summary
public Interval(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