org.springframework.batch.item.file.transform

## Class Range

- java.lang.Object
- - org.springframework.batch.item.file.transform.Range

-     public class Range
      extends java.lang.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

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int` | `UPPER_BORDER_NOT_DEFINED`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Range(int min)`
    `Range(int min, int max)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getMax()`
    `int` | `getMin()`
    `boolean` | `hasMaxValue()`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### UPPER_BORDER_NOT_DEFINED

          public static final int UPPER_BORDER_NOT_DEFINED

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### Range

          public Range(int min)

    - #### Range

          public Range(int min,
                       int max)

  - ### Method Detail

    - #### getMax

          public int getMax()

    - #### getMin

          public int getMin()

    - #### hasMaxValue

          public boolean hasMaxValue()

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`