|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E10684-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.view.rich.model.NumberRange<E>
public final class NumberRange<E extends java.lang.Number>
Class representing a numeric range based on starting and ending numbers. The numbers can be passed in in any order with the correct values assigned to the minimum and maximum values for the range.
Instances of this class are thread-safe and immutable as long as the Numbers used to create the NumberRange are immutable.
Constructor Summary | |
---|---|
NumberRange(E number1, E number2) |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o) |
E |
getMaximum() Returns the maximum of the two numbers the NumberRange was created with. |
E |
getMinimum() Returns the minimum of the two numbers the NumberRange was created with. |
int |
hashCode() |
java.lang.String |
toString() Returns a string version of the NumberRange. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NumberRange(E number1, E number2)
Method Detail |
---|
public E getMinimum()
public E getMaximum()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E10684-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |