|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 12c (12.1.2) E23185-01 |
|||||||||
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 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(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() |
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 String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 12c (12.1.2) E23185-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2013 Oracle Corporation. All Rights Reserved.