Interface CloneListIterator.Mutator<T>

All Known Implementing Classes:
CloneListIterable.DefaultMutator, CloneListIterator.Mutator.ReadOnly
Enclosing class:
CloneListIterator<E>

public static interface CloneListIterator.Mutator<T>
Used by CloneListIterator to remove elements from the original list; since the list iterator does not have direct access to the original list.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(int index, T o)
    Add the specified object to the original list.
    void
    remove(int index)
    Remove the specified object from the original list.
    void
    set(int index, T o)
    Set the specified object in the original list.
  • Method Details

    • add

      void add(int index, T o)
      Add the specified object to the original list.
    • remove

      void remove(int index)
      Remove the specified object from the original list.
    • set

      void set(int index, T o)
      Set the specified object in the original list.