Class GenericRange<T>

java.lang.Object
org.fest.swing.util.GenericRange<T>
Type Parameters:
T - the generic type of the values in this range.

public final class GenericRange<T> extends Object
Understands a range of values.
  • Field Details

    • from

      public final T from
      Initial value of this range.
    • to

      public final T to
      Final value of this range.
  • Constructor Details

    • GenericRange

      public GenericRange(T from, T to)
      Creates a new GenericRange.
      Parameters:
      from - the initial value of this range.
      to - the final value of this range.