Class OrderedSet.IndexedProxy

java.lang.Object
com.vladsch.flexmark.util.collection.OrderedSet.IndexedProxy
All Implemented Interfaces:
Indexed<E>
Enclosing class:
OrderedSet<E>

private class OrderedSet.IndexedProxy extends Object implements Indexed<E>
  • Field Details

    • allowConcurrentMods

      private final boolean allowConcurrentMods
  • Constructor Details

    • IndexedProxy

      public IndexedProxy(boolean allowConcurrentMods)
  • Method Details

    • get

      public E get(int index)
      Specified by:
      get in interface Indexed<E>
    • set

      public void set(int index, E item)
      Specified by:
      set in interface Indexed<E>
    • removeAt

      public void removeAt(int index)
      Specified by:
      removeAt in interface Indexed<E>
    • size

      public int size()
      Specified by:
      size in interface Indexed<E>
    • modificationCount

      public int modificationCount()
      Specified by:
      modificationCount in interface Indexed<E>