org.fest.swing.util
Class GenericRange<T>

java.lang.Object
  extended by 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.

Author:
Yvonne Wang

Field Summary
 T from
          Initial value of this range.
 T to
          Final value of this range.
 
Constructor Summary
GenericRange(T from, T to)
          Creates a new GenericRange.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

from

public final T from
Initial value of this range.


to

public final T to
Final value of this range.

Constructor Detail

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.


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.