public class Range extends Object
Range specifies a text range (begin char pos, end char pos) within a given document.| Modifier and Type | Class and Description |
|---|---|
static class |
Range.Mapping |
static class |
Range.Operator |
| Modifier and Type | Field and Description |
|---|---|
Integer |
begin |
Integer |
end |
static Range |
MAX |
static Range |
MIN |
| Modifier and Type | Method and Description |
|---|---|
static int |
compare(Range ra,
Range rb) |
static int |
compare(Range ra,
Range rb,
boolean inv) |
Integer |
getBegin(boolean invert) |
Integer |
getEnd(boolean invert) |
static Range |
getOutputRange(Range r,
boolean[] ro) |
Range |
invert(boolean inv) |
boolean |
isEmpty() |
static Range |
mergeRange(Range ra,
Range rb) |
static boolean |
overlaps(Range ra,
Range rb)
Deprecated.
|
String |
toString() |
public static final Range MIN
public static final Range MAX
public final Integer begin
public final Integer end
Copyright © 2017. All rights reserved.