com.sparsity.dex.gdb
Class TypeListIterator

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

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

TypeList iterator class.

Iterator to traverse all the Dex node or edge type identifiers into a TypeList instance.

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

Method Summary
 boolean hasNext()
          Gets if there are more elements.
 java.lang.Integer next()
          See nextType().
 int nextType()
          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 nextType().

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

nextType

public int nextType()
Gets the next element.