| Constructor and Description |
|---|
Range(int start,
int end) |
Range(Range other) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Range other) |
int |
component1() |
int |
component2() |
boolean |
contains(int index) |
boolean |
contains(int start,
int end) |
boolean |
doesContain(int index) |
boolean |
doesContain(Range other) |
boolean |
doesNotOverlap(Range other) |
boolean |
doesOverlap(Range other) |
boolean |
doesProperlyContain(Range other) |
boolean |
equals(Object o) |
Range |
exclude(Range other) |
Range |
expandToInclude(int start,
int end) |
Range |
expandToInclude(Range other) |
int |
getEnd() |
int |
getSpan() |
int |
getStart() |
int |
hashCode() |
Range |
include(int pos) |
Range |
include(int start,
int end) |
Range |
include(Range other) |
Range |
intersect(Range other) |
boolean |
isAdjacent(int index) |
boolean |
isAdjacent(Range other) |
boolean |
isAdjacentAfter(int index) |
boolean |
isAdjacentAfter(Range other) |
boolean |
isAdjacentBefore(int index) |
boolean |
isAdjacentBefore(Range other) |
boolean |
isContainedBy(int start,
int end) |
boolean |
isContainedBy(Range other) |
boolean |
isEmpty() |
boolean |
isEnd(int index) |
boolean |
isEqual(Range other) |
boolean |
isLast(int index) |
boolean |
isNotNull() |
boolean |
isNull() |
boolean |
isProperlyContainedBy(int start,
int end) |
boolean |
isProperlyContainedBy(Range other) |
boolean |
isStart(int index) |
boolean |
leadBy(int index) |
boolean |
leads(int index) |
int |
length() |
static Range |
of(int start,
int end) |
BasedSequence |
safeSubSequence(CharSequence charSequence) |
BasedSequence |
subSequence(CharSequence charSequence) |
String |
toString() |
boolean |
trailedBy(int index) |
boolean |
trails(int index) |
Range |
withEnd(int end) |
Range |
withRange(int start,
int end) |
Range |
withStart(int start) |
public static final Range NULL
public Range(int start,
int end)
public Range(Range other)
public static Range of(int start, int end)
public int getStart()
public int getEnd()
public int component1()
public int component2()
public Range withStart(int start)
public Range withEnd(int end)
public Range withRange(int start, int end)
public BasedSequence subSequence(CharSequence charSequence)
public BasedSequence safeSubSequence(CharSequence charSequence)
public boolean contains(int index)
public boolean contains(int start,
int end)
public boolean leads(int index)
public boolean trails(int index)
public boolean leadBy(int index)
public boolean trailedBy(int index)
public boolean doesNotOverlap(Range other)
public boolean doesOverlap(Range other)
public boolean isEqual(Range other)
public boolean doesContain(Range other)
public boolean doesProperlyContain(Range other)
public boolean isEmpty()
public boolean isContainedBy(int start,
int end)
public boolean isProperlyContainedBy(int start,
int end)
public boolean isContainedBy(Range other)
public boolean isProperlyContainedBy(Range other)
public boolean doesContain(int index)
public boolean isAdjacent(int index)
public boolean isStart(int index)
public boolean isEnd(int index)
public boolean isLast(int index)
public boolean isAdjacentBefore(int index)
public boolean isAdjacentAfter(int index)
public int compare(Range other)
public int getSpan()
public int length()
public boolean isNull()
public boolean isNotNull()
public boolean isAdjacent(Range other)
public boolean isAdjacentBefore(Range other)
public boolean isAdjacentAfter(Range other)
public Range include(int pos)
public Range include(int start, int end)
public Range expandToInclude(int start, int end)
Copyright © 2018. All rights reserved.