public static interface IConstantCollection.IConstantIterator
IConstantCollection.iterator()
.
It allows iterating over all entries in a way that steps over all
'invalid' inner slots (extra slots consumed by CONSTANT_Long and
CONSTANT_Double entries).Modifier and Type | Method and Description |
---|---|
CONSTANT_info |
nextConstant()
Returns the next entry.
|
int |
nextIndex()
Returns the next entry slot index.
|
CONSTANT_info |
set(CONSTANT_info constant)
A convenience method that is equivalent to
IConstantCollection.set(int, com.vladium.jcd.cls.constant.CONSTANT_info)
and replaces the entry that was visited last without invalidating
the iterator. |
int nextIndex()
CONSTANT_info nextConstant()
CONSTANT_info set(CONSTANT_info constant)
IConstantCollection.set(int, com.vladium.jcd.cls.constant.CONSTANT_info)
and replaces the entry that was visited last without invalidating
the iterator.