Top Interfaces Classes
module flexmark.util.experimental

Package com.vladsch.flexmark.experimental.util.collection.iteration


Interface Summary

Modifier and TypeInterface and Description
public interface
IPosition<
type of element held in the list
T
, P extends IPosition<T, P>>

Represents a position in the list at the given index and with a span of 0 or 1 elements.

public interface
IPositionHolder<T, P extends IPositionHolder<T, P>>

public interface
public interface
IPositionUpdater<T, P extends IPositionHolder<T, P>>

public interface
public interface
PositionFactory<T, P extends IPositionHolder<T, P>>

Class Summary

Modifier and TypeClass and Description
public class
IPositionBase<T, P extends IPosition<T, P>>

public class
public class
pack-priv class
PositionIterator<
type of element held by position
T
,
type of position iterated over
P extends IPositionHolder<T, P>
>

Bidirectional iterator, direction depends on the position anchor NEXT is a forward iterator, PREVIOUS is a reverse iterator

public class
public abstract class
PositionListBase<
type of position
T
,
type of position holder
P extends IPositionHolder<T, P>
>

Iterator for list positions allowing to iterate over current elements while inserting and deleting elements relative to current position

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