com.android.dx.util
Interface IntIterator


public interface IntIterator

An iterator for a list of ints.


Method Summary
 boolean hasNext()
          Checks to see if the iterator has a next value.
 int next()
          Returns the next value in the iterator.
 

Method Detail

hasNext

boolean hasNext()
Checks to see if the iterator has a next value.

Returns:
true if next() will succeed

next

int next()
Returns the next value in the iterator.

Returns:
next value
Throws:
NoSuchElementException - if no next element exists


Copyright © 2013. All Rights Reserved.