| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.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 | 
end
The ending number of the range.  | 
 int | 
start
The 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.0) E13403-08  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||