org.springframework.batch.item.file.transform
Class Range
java.lang.Object
org.springframework.batch.item.file.transform.Range
public class Range
- extends Object
A class to represent ranges. A Range can have minimum/maximum values from
interval <1,Integer.MAX_VALUE-1> A Range can be unbounded at maximum
side. This can be specified by passing UPPER_BORDER_NOT_DEFINED
} as max
value or using constructor Range(int)
.
- Author:
- peter.zozom
Constructor Summary |
Range(int min)
|
Range(int min,
int max)
|
UPPER_BORDER_NOT_DEFINED
public static final int UPPER_BORDER_NOT_DEFINED
- See Also:
- Constant Field Values
Range
public Range(int min)
Range
public Range(int min,
int max)
getMax
public int getMax()
getMin
public int getMin()
setMax
public void setMax(int max)
setMin
public void setMin(int min)
hasMaxValue
public boolean hasMaxValue()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009 SpringSource. All Rights Reserved.