Class LLinkedListIterator<O>

java.lang.Object
de.linusdev.lutils.llist.LLinkedListIterator<O>
Type Parameters:
O - element class
All Implemented Interfaces:
Iterator<O>, ListIterator<O>

public class LLinkedListIterator<O> extends Object implements ListIterator<O>, Iterator<O>
It is not recommended to use any index based methods. If the list is modified during iteration, the indices may be wrong.
  • Constructor Details

    • LLinkedListIterator

      public LLinkedListIterator(@NotNull @NotNull LLinkedList<O> list)
    • LLinkedListIterator

      public LLinkedListIterator(@NotNull @NotNull LLinkedList<O> list, int index, @Nullable @Nullable LLinkedListEntry<O> lastEntry, @NotNull @NotNull LLinkedListEntry<O> currentEntry)
  • Method Details