com.sparsity.dex.gdb
Class AttributeListIterator

java.lang.Object
  extended by com.sparsity.dex.gdb.AttributeListIterator
All Implemented Interfaces:
java.util.Iterator<java.lang.Integer>

public class AttributeListIterator
extends java.lang.Object
implements java.util.Iterator<java.lang.Integer>

AttributeList iterator class.

Iterator to traverse all the Dex attribute identifier into a AttributeList instance.

Author:
Sparsity Technologies http://www.sparsity-technologies.com

Method Summary
 boolean hasNext()
          Gets if there are more elements.
 java.lang.Integer next()
          See nextAttribute().
 int nextAttribute()
          Gets the next element.
 void remove()
          Operation not supported.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasNext

public boolean hasNext()
Gets if there are more elements.

Specified by:
hasNext in interface java.util.Iterator<java.lang.Integer>
Returns:
TRUE if there are more elements, FALSE otherwise.

remove

public void remove()
Operation not supported.

Specified by:
remove in interface java.util.Iterator<java.lang.Integer>

next

public java.lang.Integer next()
See nextAttribute().

Specified by:
next in interface java.util.Iterator<java.lang.Integer>

nextAttribute

public int nextAttribute()
Gets the next element.