Package org.jf.dexlib2.writer.pool
Class TypeListPool
java.lang.Object
org.jf.dexlib2.writer.pool.BasePool<TypeListPool.Key<? extends Collection<? extends CharSequence>>,Integer>
org.jf.dexlib2.writer.pool.BaseOffsetPool<TypeListPool.Key<? extends Collection<? extends CharSequence>>>
org.jf.dexlib2.writer.pool.BaseNullableOffsetPool<TypeListPool.Key<? extends Collection<? extends CharSequence>>>
org.jf.dexlib2.writer.pool.TypeListPool
- All Implemented Interfaces:
NullableOffsetSection<TypeListPool.Key<? extends Collection<? extends CharSequence>>>,OffsetSection<TypeListPool.Key<? extends Collection<? extends CharSequence>>>,Markable,TypeListSection<CharSequence,TypeListPool.Key<? extends Collection<? extends CharSequence>>>
public class TypeListPool
extends BaseNullableOffsetPool<TypeListPool.Key<? extends Collection<? extends CharSequence>>>
implements TypeListSection<CharSequence,TypeListPool.Key<? extends Collection<? extends CharSequence>>>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classTypeListPool.Key<TypeCollection extends Collection<? extends CharSequence>> -
Field Summary
Fields inherited from class org.jf.dexlib2.writer.pool.BasePool
dexPool, internedItems -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetNullableItemOffset(TypeListPool.Key<? extends Collection<? extends CharSequence>> key) Collection<? extends CharSequence> getTypes(TypeListPool.Key<? extends Collection<? extends CharSequence>> typesKey) voidintern(Collection<? extends CharSequence> types) Methods inherited from class org.jf.dexlib2.writer.pool.BaseOffsetPool
getItemOffset, getItems, getItemStringMethods inherited from class org.jf.dexlib2.writer.pool.BasePool
getItemCount, mark, resetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jf.dexlib2.writer.OffsetSection
getItemOffset, getItems
-
Constructor Details
-
TypeListPool
-
-
Method Details
-
intern
-
getTypes
@Nonnull public Collection<? extends CharSequence> getTypes(TypeListPool.Key<? extends Collection<? extends CharSequence>> typesKey) - Specified by:
getTypesin interfaceTypeListSection<CharSequence,TypeListPool.Key<? extends Collection<? extends CharSequence>>>
-
getNullableItemOffset
public int getNullableItemOffset(@Nullable TypeListPool.Key<? extends Collection<? extends CharSequence>> key) - Specified by:
getNullableItemOffsetin interfaceNullableOffsetSection<TypeListPool.Key<? extends Collection<? extends CharSequence>>>- Specified by:
getNullableItemOffsetin interfaceTypeListSection<CharSequence,TypeListPool.Key<? extends Collection<? extends CharSequence>>> - Overrides:
getNullableItemOffsetin classBaseNullableOffsetPool<TypeListPool.Key<? extends Collection<? extends CharSequence>>>
-