goldman.collection
Interface Interval<T>


public interface Interval<T>

The Interval interface provides a way for an application program to provide a minimum and maximum element when it is known.


Method Summary
 T getMax()
          Returns a maximum element in the range.
 T getMin()
          Returns a minimum element in the range.
 

Method Detail

getMin

T getMin()
Returns a minimum element in the range.


getMax

T getMax()
Returns a maximum element in the range.