Class VariableSizeList<T>

  • All Implemented Interfaces:
    java.lang.Iterable<T>, java.util.Collection<T>, java.util.List<T>

    public abstract class VariableSizeList<T>
    extends java.util.AbstractSequentialList<T>
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      VariableSizeListIterator<T> listIterator()  
      VariableSizeListIterator<T> listIterator​(int index)  
      protected abstract T readNextItem​(DexReader reader, int index)  
      int size()  
      • Methods inherited from class java.util.AbstractSequentialList

        add, addAll, get, iterator, remove, set
      • Methods inherited from class java.util.AbstractList

        add, clear, equals, hashCode, indexOf, lastIndexOf, removeRange, subList
      • Methods inherited from class java.util.AbstractCollection

        addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
    • Constructor Detail

      • VariableSizeList

        public VariableSizeList​(@Nonnull
                                DexBuffer buffer,
                                int offset,
                                int size)
    • Method Detail

      • readNextItem

        protected abstract T readNextItem​(@Nonnull
                                          DexReader reader,
                                          int index)
      • listIterator

        @Nonnull
        public VariableSizeListIterator<T> listIterator()
        Specified by:
        listIterator in interface java.util.List<T>
        Overrides:
        listIterator in class java.util.AbstractList<T>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<T>
        Specified by:
        size in interface java.util.List<T>
        Specified by:
        size in class java.util.AbstractCollection<T>
      • listIterator

        @Nonnull
        public VariableSizeListIterator<T> listIterator​(int index)
        Specified by:
        listIterator in interface java.util.List<T>
        Specified by:
        listIterator in class java.util.AbstractSequentialList<T>