public class Range<T>
extends java.lang.Object
Constructor and Description |
---|
Range(T min,
T max)
Construct an instance of Range with a min and max value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
T |
getMax() |
T |
getMin() |
int |
hashCode() |
java.lang.String |
toString() |
public T getMin()
public T getMax()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object