Class DexBackedDexFile.OptionalIndexedSection<T>
java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractList<T>
org.jf.dexlib2.dexbacked.DexBackedDexFile.IndexedSection<T>
org.jf.dexlib2.dexbacked.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>
-
Field Summary
Fields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class DexBackedDexFile.IndexedSection
getOffsetMethods inherited from class AbstractList
add, add, addAll, clear, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, size, sort, spliterator, toArray, toArray
-
Constructor Details
-
OptionalIndexedSection
public OptionalIndexedSection()
-
-
Method Details
-
getOptional
- 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.
-