org.stringtemplate.v4.misc
Class Interval

java.lang.Object
  extended by org.stringtemplate.v4.misc.Interval

public class Interval
extends Object

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


Field Summary
 int a
           
 int b
           
 
Constructor Summary
Interval(int a, int b)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

a

public int a

b

public int b
Constructor Detail

Interval

public Interval(int a,
                int b)
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.