Package org.jf.dexlib2.writer.pool
Class BaseIndexPool<Key>
- java.lang.Object
-
- org.jf.dexlib2.writer.pool.BasePool<Key,java.lang.Integer>
-
- org.jf.dexlib2.writer.pool.BaseIndexPool<Key>
-
- All Implemented Interfaces:
IndexSection<Key>
,Markable
- Direct Known Subclasses:
CallSitePool
,FieldPool
,MethodHandlePool
,MethodPool
,ProtoPool
public abstract class BaseIndexPool<Key> extends BasePool<Key,java.lang.Integer> implements IndexSection<Key>
-
-
Field Summary
-
Fields inherited from class org.jf.dexlib2.writer.pool.BasePool
dexPool, internedItems
-
-
Constructor Summary
Constructors Constructor Description BaseIndexPool(DexPool dexPool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getItemIndex(Key key)
java.util.Collection<? extends java.util.Map.Entry<? extends Key,java.lang.Integer>>
getItems()
protected java.lang.String
getItemString(Key key)
-
Methods inherited from class org.jf.dexlib2.writer.pool.BasePool
getItemCount, mark, reset
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jf.dexlib2.writer.IndexSection
getItemCount
-
-
-
-
Constructor Detail
-
BaseIndexPool
public BaseIndexPool(@Nonnull DexPool dexPool)
-
-
Method Detail
-
getItems
@Nonnull public java.util.Collection<? extends java.util.Map.Entry<? extends Key,java.lang.Integer>> getItems()
- Specified by:
getItems
in interfaceIndexSection<Key>
-
getItemIndex
public int getItemIndex(@Nonnull Key key)
- Specified by:
getItemIndex
in interfaceIndexSection<Key>
-
getItemString
@Nonnull protected java.lang.String getItemString(@Nonnull Key key)
-
-