|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vladium.jcd.cls.ConstantCollection.ConstantIterator
Field Summary | |
private java.util.List |
m_constants
|
private int |
m_index
|
private int |
m_next_index
|
private int |
m_prev_index
|
Constructor Summary | |
(package private) |
ConstantCollection.ConstantIterator(java.util.List constants)
|
Method Summary | |
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. |
private void |
shift()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int m_index
private int m_prev_index
private int m_next_index
private java.util.List m_constants
Constructor Detail |
ConstantCollection.ConstantIterator(java.util.List constants)
Method Detail |
public int nextIndex()
IConstantCollection.IConstantIterator
nextIndex
in interface IConstantCollection.IConstantIterator
public CONSTANT_info nextConstant()
IConstantCollection.IConstantIterator
nextConstant
in interface IConstantCollection.IConstantIterator
public CONSTANT_info set(CONSTANT_info constant)
IConstantCollection.IConstantIterator
IConstantCollection.set(int, com.vladium.jcd.cls.constant.CONSTANT_info)
and replaces the entry that was visited last without invalidating
the iterator.
set
in interface IConstantCollection.IConstantIterator
private void shift()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |