public class TrackedOffsetList extends Object implements List<TrackedOffset>
| Modifier and Type | Field and Description |
|---|---|
static TrackedOffsetList |
EMPTY_LIST |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
TrackedOffset element) |
boolean |
add(TrackedOffset offset) |
boolean |
addAll(@NotNull Collection<? extends TrackedOffset> c) |
boolean |
addAll(int index,
@NotNull Collection<? extends TrackedOffset> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(@NotNull Collection<?> c) |
static @NotNull TrackedOffsetList |
create(@NotNull com.vladsch.flexmark.util.sequence.BasedSequence baseSeq,
@NotNull int[] offsets) |
static @NotNull TrackedOffsetList |
create(@NotNull com.vladsch.flexmark.util.sequence.BasedSequence baseSeq,
@NotNull List<TrackedOffset> trackedOffsets) |
boolean |
equals(Object o) |
TrackedOffset |
get(int index) |
@NotNull com.vladsch.flexmark.util.sequence.builder.tree.BasedOffsetTracker |
getBasedOffsetTracker() |
@NotNull com.vladsch.flexmark.util.sequence.BasedSequence |
getBaseSeq() |
@NotNull List<TrackedOffset> |
getTrackedOffsets() |
@NotNull TrackedOffsetList |
getTrackedOffsets(int startOffset,
int endOffset) |
@NotNull TrackedOffsetList |
getUnresolvedOffsets() |
int |
hashCode() |
boolean |
haveUnresolved() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
@NotNull Iterator<TrackedOffset> |
iterator() |
int |
lastIndexOf(Object o) |
@NotNull ListIterator<TrackedOffset> |
listIterator() |
@NotNull ListIterator<TrackedOffset> |
listIterator(int index) |
TrackedOffset |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(@NotNull Collection<?> c) |
void |
replaceAll(UnaryOperator<TrackedOffset> operator) |
boolean |
retainAll(@NotNull Collection<?> c) |
TrackedOffset |
set(int index,
TrackedOffset element) |
int |
size() |
void |
sort(Comparator<? super TrackedOffset> c) |
Spliterator<TrackedOffset> |
spliterator() |
@NotNull List<TrackedOffset> |
subList(int fromIndex,
int toIndex) |
@NotNull Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitparallelStream, removeIf, streampublic static TrackedOffsetList EMPTY_LIST
@NotNull public static @NotNull TrackedOffsetList create(@NotNull @NotNull com.vladsch.flexmark.util.sequence.BasedSequence baseSeq, @NotNull @NotNull List<TrackedOffset> trackedOffsets)
@NotNull public static @NotNull TrackedOffsetList create(@NotNull @NotNull com.vladsch.flexmark.util.sequence.BasedSequence baseSeq, @NotNull @NotNull int[] offsets)
@NotNull public @NotNull TrackedOffsetList getUnresolvedOffsets()
public boolean haveUnresolved()
@NotNull public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getBaseSeq()
@NotNull public @NotNull List<TrackedOffset> getTrackedOffsets()
@NotNull public @NotNull com.vladsch.flexmark.util.sequence.builder.tree.BasedOffsetTracker getBasedOffsetTracker()
@NotNull public @NotNull TrackedOffsetList getTrackedOffsets(int startOffset, int endOffset)
public boolean add(TrackedOffset offset)
add in interface Collection<TrackedOffset>add in interface List<TrackedOffset>public TrackedOffset set(int index, TrackedOffset element)
set in interface List<TrackedOffset>public void add(int index,
TrackedOffset element)
add in interface List<TrackedOffset>public TrackedOffset remove(int index)
remove in interface List<TrackedOffset>public boolean addAll(@NotNull
@NotNull Collection<? extends TrackedOffset> c)
addAll in interface Collection<TrackedOffset>addAll in interface List<TrackedOffset>public boolean addAll(int index,
@NotNull
@NotNull Collection<? extends TrackedOffset> c)
addAll in interface List<TrackedOffset>public boolean removeAll(@NotNull
@NotNull Collection<?> c)
removeAll in interface Collection<TrackedOffset>removeAll in interface List<TrackedOffset>public boolean retainAll(@NotNull
@NotNull Collection<?> c)
retainAll in interface Collection<TrackedOffset>retainAll in interface List<TrackedOffset>public void replaceAll(UnaryOperator<TrackedOffset> operator)
replaceAll in interface List<TrackedOffset>public void sort(Comparator<? super TrackedOffset> c)
sort in interface List<TrackedOffset>public void clear()
clear in interface Collection<TrackedOffset>clear in interface List<TrackedOffset>public boolean remove(Object o)
remove in interface Collection<TrackedOffset>remove in interface List<TrackedOffset>public int size()
size in interface Collection<TrackedOffset>size in interface List<TrackedOffset>public boolean isEmpty()
isEmpty in interface Collection<TrackedOffset>isEmpty in interface List<TrackedOffset>public boolean contains(Object o)
contains in interface Collection<TrackedOffset>contains in interface List<TrackedOffset>@NotNull public @NotNull Iterator<TrackedOffset> iterator()
iterator in interface Iterable<TrackedOffset>iterator in interface Collection<TrackedOffset>iterator in interface List<TrackedOffset>@NotNull public @NotNull Object[] toArray()
toArray in interface Collection<TrackedOffset>toArray in interface List<TrackedOffset>@NotNull
public <T> T[] toArray(@NotNull
T[] a)
toArray in interface Collection<TrackedOffset>toArray in interface List<TrackedOffset>public boolean containsAll(@NotNull
@NotNull Collection<?> c)
containsAll in interface Collection<TrackedOffset>containsAll in interface List<TrackedOffset>public boolean equals(Object o)
equals in interface Collection<TrackedOffset>equals in interface List<TrackedOffset>equals in class Objectpublic int hashCode()
hashCode in interface Collection<TrackedOffset>hashCode in interface List<TrackedOffset>hashCode in class Objectpublic TrackedOffset get(int index)
get in interface List<TrackedOffset>public int indexOf(Object o)
indexOf in interface List<TrackedOffset>public int lastIndexOf(Object o)
lastIndexOf in interface List<TrackedOffset>@NotNull public @NotNull ListIterator<TrackedOffset> listIterator()
listIterator in interface List<TrackedOffset>@NotNull public @NotNull ListIterator<TrackedOffset> listIterator(int index)
listIterator in interface List<TrackedOffset>@NotNull public @NotNull List<TrackedOffset> subList(int fromIndex, int toIndex)
subList in interface List<TrackedOffset>public Spliterator<TrackedOffset> spliterator()
spliterator in interface Iterable<TrackedOffset>spliterator in interface Collection<TrackedOffset>spliterator in interface List<TrackedOffset>Copyright © 2020. All rights reserved.