com.legstar.cobol.model
Class CobolDataItem.Range

java.lang.Object
  extended by com.legstar.cobol.model.CobolDataItem.Range
Enclosing class:
CobolDataItem

public static class CobolDataItem.Range
extends Object

Represents a range between two literals.


Constructor Summary
CobolDataItem.Range(String from, String to)
          Constructor for immutable class.
 
Method Summary
 String getFrom()
           
 String getTo()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CobolDataItem.Range

public CobolDataItem.Range(String from,
                           String to)
Constructor for immutable class.

Parameters:
from - range start
to - range stop
Method Detail

getFrom

public String getFrom()
Returns:
the range start

getTo

public String getTo()
Returns:
the range stop

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2015 LegSem. All Rights Reserved.