elements inserted at current position or at current + 1 position will skipped in the iteration allowing adding new elements which will not be part of the iteration
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final @NotNull PositionFactory | |
| private final @NotNull Stack | |
| private int | |
| private final @NotNull List | |
| private final @NotNull WeakHashMap | |
| private int | |
| private @Nullable WeakHashMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | addPositionListener(@NotNull IPositionListener
listener listener)Add list edit listener for notifications of mods to the list |
| public void | changed(int
at which set is being performed, list contents and size at this point are already updated index, Object value at index before setting oldValue, Object value at index before setting newValue)Implements com. After set Notification Note the returned class should be the same or a subclass of original object's class |
| public Object | changing(int
at which set is being performed, list contents and size at this point are not updated index, Object new value for the element value)Implements com. Before set Notification Note the returned class should be the same or a subclass of original object's class |
| public void | |
| public void | |
| public void | deleted(int
at which delete was performed, list contents and size at this point are already updated index, int of elements deleted count)Implements com. delete Notification |
| public void | deleting(int
at which delete will be performed, list contents and size at this point have not changed index, int of elements deleted count)Implements com. before delete Notification |
| 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 T | |
| public P | |
| public P | |
| public P | |
| public @NotNull List | |
| public int | |
| public @NotNull String | |
| public int | |
| public T | |
| public <S extends T> S | |
| public P | |
| public int | |
| public int | |
| public void | inserted(int
at which insert was performed, list contents and size at this point are already updated index, int of elements inserted count)Implements com. insert Notification |
| public boolean | |
| public boolean | |
| public @NotNull Iterator | |
| public @NotNull Iterator | iterator(P position)
Implements com.
|
| public Object | |
| public T | |
| public void | |
| public void | removePositionListener(@NotNull IPositionListener
listener listener)Remove list edit listener Note removal is optional. |
| public @NotNull Iterable | |
| public @NotNull Iterator | |
| public T | |
| public int | |
| private void | |
| public void | unframe(P position)
Implements com.
|
| myFactory | back to summary |
|---|---|
| private final @NotNull PositionFactory<T, P> myFactory
| |
| myFrames | back to summary |
|---|---|
| private final @NotNull Stack<PositionListBase. | |
| myLastFrameId | back to summary |
|---|---|
| private int myLastFrameId | |
| myList | back to summary |
|---|---|
| private final @NotNull List<T> myList
| |
| myListeners | back to summary |
|---|---|
| private final @NotNull WeakHashMap<IPositionListener, Integer> myListeners
| |
| myMaxListeners | back to summary |
|---|---|
| private int myMaxListeners | |
| myPreviewListeners | back to summary |
|---|---|
| private @Nullable WeakHashMap<IPreviewPositionListener, Boolean> myPreviewListeners
| |
| PositionListBase | back to summary |
|---|---|
| public PositionListBase(@NotNull List<T> list, @NotNull PositionFactory<T, P> factory) | |
| add | back to summary |
|---|---|
| public boolean add(T element) | |
| add | back to summary |
|---|---|
public boolean add(int index, T element)
| |
| addAll | back to summary |
|---|---|
| public boolean addAll(@NotNull PositionListBase<T, P> other) | |
| addAll | back to summary |
|---|---|
| public boolean addAll(int index, @NotNull PositionListBase<T, P> other) | |
| addAll | back to summary |
|---|---|
| public boolean addAll(@NotNull Collection<? extends T> elements) | |
| addAll | back to summary |
|---|---|
| public boolean addAll(int index, @NotNull Collection<? extends T> elements) | |
| addPositionListener | back to summary |
|---|---|
| public void addPositionListener(@NotNull IPositionListener listener) Add list edit listener for notifications of mods to the list
| |
| changed | back to summary |
|---|---|
| public void changed(int index, Object oldValue, Object newValue) Implements com. Doc from com. After set Notification Note the returned class should be the same or a subclass of original object's class | |
| changing | back to summary |
|---|---|
| public Object changing(int index, Object value) Implements com. Doc from com. Before set Notification Note the returned class should be the same or a subclass of original object's class | |
| clear | back to summary |
|---|---|
| public void clear() Implements com.
| |
| closeFrame | back to summary |
|---|---|
| public void closeFrame(Object frameId) | |
| deleted | back to summary |
|---|---|
| public void deleted(int index, int count) Implements com. Doc from com. delete Notification
| |
| deleting | back to summary |
|---|---|
| public void deleting(int index, int count) Implements com. Doc from com. before delete Notification
| |
| 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. | |
| get | back to summary |
|---|---|
| public T get(int index) | |
| getEnd | back to summary |
|---|---|
| public P getEnd() | |
| getFirst | back to summary |
|---|---|
| public P getFirst() | |
| getLast | back to summary |
|---|---|
| public P getLast() | |
| getList | back to summary |
|---|---|
| public @NotNull List Implements com.
| |
| getListeners | back to summary |
|---|---|
public int getListeners()
| |
| getListParentId | back to summary |
|---|---|
public @NotNull String getListParentId()
| |
| getMaxListeners | back to summary |
|---|---|
public int getMaxListeners()
| |
| getOrNull | back to summary |
|---|---|
| public T getOrNull(int index) | |
| getOrNull | back to summary |
|---|---|
| public <S extends T> S getOrNull(int index, Class<S> elementClass) | |
| getPosition | back to summary |
|---|---|
public P getPosition(int index, @NotNull PositionAnchor anchor)
| |
| getPreviewListeners | back to summary |
|---|---|
public int getPreviewListeners()
| |
| 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
| |
| inserted | back to summary |
|---|---|
| public void inserted(int index, int count) Implements com. Doc from com. insert Notification
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |
| isNotEmpty | back to summary |
|---|---|
| public boolean isNotEmpty() | |
| iterator | back to summary |
|---|---|
| public @NotNull Iterator Implements java. Doc from java. Returns an iterator over elements of type | |
| iterator | back to summary |
|---|---|
| public @NotNull Iterator Implements com.
| |
| openFrame | back to summary |
|---|---|
| public Object openFrame() | |
| remove | back to summary |
|---|---|
| public T remove(int index) | |
| remove | back to summary |
|---|---|
| public void remove(int startIndex, int endIndex) | |
| removePositionListener | back to summary |
|---|---|
| public void removePositionListener(@NotNull IPositionListener listener) Remove list edit listener Note removal is optional. Only weak refs are kept for the listener
| |
| reversed | back to summary |
|---|---|
public @NotNull Iterable
| |
| reversedIterator | back to summary |
|---|---|
public @NotNull Iterator
| |
| set | back to summary |
|---|---|
| public T set(int index, T value) | |
| size | back to summary |
|---|---|
| public int size() | |
| throwIllegalStateWithOpenFrameTrace | back to summary |
|---|---|
| private void throwIllegalStateWithOpenFrameTrace(@Nullable StringBuilder out, PositionListBase. | |
| unframe | back to summary |
|---|---|
| public void unframe(P position) Implements com.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final int | |
| pack-priv final StackTraceElement[] | |
| pack-priv final @Nullable PositionListBase. | |
| pack-priv final @NotNull String |
| Access | Constructor and Description |
|---|---|
| public | FrameLevel(@NotNull String parentList, @Nullable PositionListBase.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv boolean |
| frameId | back to summary |
|---|---|
| pack-priv final int frameId | |
| frameLevel | back to summary |
|---|---|
| pack-priv final int frameLevel | |
| openStackTrace | back to summary |
|---|---|
| pack-priv final StackTraceElement[] openStackTrace | |
| parentFrame | back to summary |
|---|---|
| pack-priv final @Nullable PositionListBase. | |
| parentList | back to summary |
|---|---|
| pack-priv final @NotNull String parentList
| |
| FrameLevel | back to summary |
|---|---|
| public FrameLevel(@NotNull String parentList, @Nullable PositionListBase. | |
| appendStackTrace | back to summary |
|---|---|
| pack-priv void appendStackTrace(@NotNull StringBuilder out, @NotNull CharSequence indent, int stackOffset) | |
| isDescendantOf | back to summary |
|---|---|
| pack-priv boolean isDescendantOf(@NotNull PositionListBase. | |