Class DexBackedDexFile.OptionalIndexedSection<T>

All Implemented Interfaces:
Iterable<T>, Collection<T>, List<T>, SequencedCollection<T>
Enclosing class:
DexBackedDexFile

public abstract static class DexBackedDexFile.OptionalIndexedSection<T> extends DexBackedDexFile.IndexedSection<T>
  • Constructor Details

    • OptionalIndexedSection

      public OptionalIndexedSection()
  • Method Details

    • getOptional

      @Nullable public abstract T getOptional(int index)
      Parameters:
      index - The index of the item, or -1 for a null item.
      Returns:
      The value at the given index, or null if index is -1.
      Throws:
      IndexOutOfBoundsException - if the index is out of bounds and is not -1.