| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  
oracle.javatools.editor.language.NumberRange
public final class NumberRange
A NumberRange is just a wrapper for a starting and ending number so that we can return two numbers from a calculation. For example, this may represent a start/end offset or start/end line.
| Field Summary | |
|---|---|
 int | 
endThe ending number of the range.  | 
 int | 
startThe starting number of the range.  | 
| Constructor Summary | |
|---|---|
NumberRange(int start, int end)Constructs a new NumberRange.  | 
|
NumberRange(NumberRange range)Copies an existing instance.  | 
|
| Method Summary | |
|---|---|
 java.lang.String | 
toString()Fetches a human-readable version of this object.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public int start
public int end
| Constructor Detail | 
|---|
public NumberRange(NumberRange range)
range - the existing instance
public NumberRange(int start,
                   int end)
start - starting numberend - ending number| Method Detail | 
|---|
public java.lang.String toString()
toString in class java.lang.Object
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||