| Modifier and Type | Field and Description |
|---|---|
| public static final Range | |
| private final int | |
| public static final Range | |
| private final int |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public @NotNull BasedSequence | |
| public @NotNull BasedSequence | |
| public @NotNull CharSequence | |
| public int | |
| public int | |
| public int | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public static @NotNull Range | |
| public Range | |
| public Range | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public @NotNull Range | |
| public @NotNull Range | |
| public @NotNull Range | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public @NotNull Range | |
| public @NotNull Range | |
| public @NotNull Range | |
| public @NotNull Range | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public static @NotNull Range | |
| public static @NotNull Range | |
| public boolean | |
| public boolean | |
| public boolean | |
| public @NotNull RichSequence | |
| public @NotNull RichSequence | |
| public @NotNull CharSequence | |
| public Range | |
| public Range | |
| public Range | |
| public Range | |
| public @NotNull BasedSequence | Returns: resulting based subsequencechar sequence from which to extract the range charSequence)
Deprecated
use
basedSubSequence(CharSequence) instead
Return a based subsequence of sequence given by this range |
| public String | |
| public boolean | |
| public boolean | |
| public Range | |
| public Range | |
| public Range |
| EMPTY | back to summary |
|---|---|
| public static final Range EMPTY | |
| end | back to summary |
|---|---|
| private final int end | |
| NULL | back to summary |
|---|---|
| public static final Range NULL | |
| start | back to summary |
|---|---|
| private final int start | |
| Range | back to summary |
|---|---|
| protected Range(int start, int end) Create range
| |
| Range | back to summary |
|---|---|
| protected Range(@NotNull Range other) | |
| basedSafeSubSequence | back to summary |
|---|---|
public @NotNull BasedSequence basedSafeSubSequence(@NotNull CharSequence charSequence)
| |
| basedSubSequence | back to summary |
|---|---|
public @NotNull BasedSequence basedSubSequence(@NotNull CharSequence charSequence)
| |
| charSubSequence | back to summary |
|---|---|
public @NotNull CharSequence charSubSequence(@NotNull CharSequence charSequence)
| |
| compare | back to summary |
|---|---|
| public int compare(@NotNull Range other) | |
| component1 | back to summary |
|---|---|
| public int component1() | |
| component2 | back to summary |
|---|---|
| public int component2() | |
| contains | back to summary |
|---|---|
| public boolean contains(@NotNull Range other) | |
| contains | back to summary |
|---|---|
| public boolean contains(int index) | |
| contains | back to summary |
|---|---|
| public boolean contains(int start, int end) | |
| doesContain | back to summary |
|---|---|
| public boolean doesContain(@NotNull Range other) | |
| doesContain | back to summary |
|---|---|
| public boolean doesContain(int index) | |
| doesContain | back to summary |
|---|---|
| public boolean doesContain(int start, int end) | |
| doesNotOverlap | back to summary |
|---|---|
| public boolean doesNotOverlap(@NotNull Range other) | |
| doesNotOverlapNorAdjacent | back to summary |
|---|---|
| public boolean doesNotOverlapNorAdjacent(@NotNull Range other) | |
| doesNotOverlapOrAdjacent | back to summary |
|---|---|
| public boolean doesNotOverlapOrAdjacent(@NotNull Range other) | |
| doesOverlap | back to summary |
|---|---|
| public boolean doesOverlap(@NotNull Range other) | |
| doesOverlapOrAdjacent | back to summary |
|---|---|
| public boolean doesOverlapOrAdjacent(@NotNull Range other) | |
| doesProperlyContain | back to summary |
|---|---|
| public boolean doesProperlyContain(@NotNull Range other) | |
| emptyOf | back to summary |
|---|---|
public static @NotNull Range emptyOf(int position)
| |
| endMinus | back to summary |
|---|---|
| public Range endMinus(int delta) | |
| endPlus | back to summary |
|---|---|
| public Range endPlus(int delta) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| exclude | back to summary |
|---|---|
public @NotNull Range exclude(@NotNull Range other)
| |
| expandToInclude | back to summary |
|---|---|
public @NotNull Range expandToInclude(@NotNull Range other)
| |
| expandToInclude | back to summary |
|---|---|
public @NotNull Range expandToInclude(int start, int end)
| |
| getEnd | back to summary |
|---|---|
| public int getEnd() | |
| getEndOffset | back to summary |
|---|---|
| public int getEndOffset() | |
| getSpan | back to summary |
|---|---|
| public int getSpan() | |
| getStart | back to summary |
|---|---|
| public int getStart() | |
| getStartOffset | back to summary |
|---|---|
| public int getStartOffset() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| include | back to summary |
|---|---|
public @NotNull Range include(@NotNull Range other)
| |
| include | back to summary |
|---|---|
public @NotNull Range include(int pos)
| |
| include | back to summary |
|---|---|
public @NotNull Range include(int start, int end)
| |
| intersect | back to summary |
|---|---|
public @NotNull Range intersect(@NotNull Range other)
| |
| isAdjacent | back to summary |
|---|---|
| public boolean isAdjacent(int index) | |
| isAdjacent | back to summary |
|---|---|
| public boolean isAdjacent(@NotNull Range other) | |
| isAdjacentAfter | back to summary |
|---|---|
| public boolean isAdjacentAfter(int index) | |
| isAdjacentAfter | back to summary |
|---|---|
| public boolean isAdjacentAfter(@NotNull Range other) | |
| isAdjacentBefore | back to summary |
|---|---|
| public boolean isAdjacentBefore(int index) | |
| isAdjacentBefore | back to summary |
|---|---|
| public boolean isAdjacentBefore(@NotNull Range other) | |
| isContainedBy | back to summary |
|---|---|
| public boolean isContainedBy(@NotNull Range other) | |
| isContainedBy | back to summary |
|---|---|
| public boolean isContainedBy(int start, int end) | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |
| isEnd | back to summary |
|---|---|
| public boolean isEnd(int index) | |
| isEqual | back to summary |
|---|---|
| public boolean isEqual(@NotNull Range other) | |
| isLast | back to summary |
|---|---|
| public boolean isLast(int index) | |
| isNotEmpty | back to summary |
|---|---|
| public boolean isNotEmpty() | |
| isNotNull | back to summary |
|---|---|
| public boolean isNotNull() | |
| isNull | back to summary |
|---|---|
| public boolean isNull() | |
| isProperlyContainedBy | back to summary |
|---|---|
| public boolean isProperlyContainedBy(@NotNull Range other) | |
| isProperlyContainedBy | back to summary |
|---|---|
| public boolean isProperlyContainedBy(int start, int end) | |
| isStart | back to summary |
|---|---|
| public boolean isStart(int index) | |
| isValidIndex | back to summary |
|---|---|
| public boolean isValidIndex(int index) | |
| leadBy | back to summary |
|---|---|
| public boolean leadBy(int index) | |
| leads | back to summary |
|---|---|
| public boolean leads(int index) | |
| of | back to summary |
|---|---|
public static @NotNull Range of(int start, int end)
| |
| ofLength | back to summary |
|---|---|
public static @NotNull Range ofLength(int start, int length)
| |
| overlaps | back to summary |
|---|---|
| public boolean overlaps(@NotNull Range other) | |
| overlapsOrAdjacent | back to summary |
|---|---|
| public boolean overlapsOrAdjacent(@NotNull Range other) | |
| properlyContains | back to summary |
|---|---|
| public boolean properlyContains(@NotNull Range other) | |
| richSafeSubSequence | back to summary |
|---|---|
public @NotNull RichSequence richSafeSubSequence(@NotNull CharSequence charSequence)
| |
| richSubSequence | back to summary |
|---|---|
public @NotNull RichSequence richSubSequence(@NotNull CharSequence charSequence)
| |
| safeSubSequence | back to summary |
|---|---|
public @NotNull CharSequence safeSubSequence(@NotNull CharSequence charSequence)
| |
| shiftLeft | back to summary |
|---|---|
| public Range shiftLeft(int delta) | |
| shiftRight | back to summary |
|---|---|
| public Range shiftRight(int delta) | |
| startMinus | back to summary |
|---|---|
| public Range startMinus(int delta) | |
| startPlus | back to summary |
|---|---|
| public Range startPlus(int delta) | |
| subSequence | back to summary |
|---|---|
| public @NotNull BasedSequence subSequence(@NotNull CharSequence charSequence)
Deprecated use Return a based subsequence of sequence given by this range
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| trailedBy | back to summary |
|---|---|
| public boolean trailedBy(int index) | |
| trails | back to summary |
|---|---|
| public boolean trails(int index) | |
| withEnd | back to summary |
|---|---|
| public Range withEnd(int end) | |
| withRange | back to summary |
|---|---|
| public Range withRange(int start, int end) | |
| withStart | back to summary |
|---|---|
| public Range withStart(int start) | |