Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Util.Structures
Class StaticIntIterator

    java.lang.Object
      Util.Structures.StaticIntIterator

All Implemented Interfaces:
  IntIterator

    public class StaticIntIterator

extends java.lang.Object
implements IntIterator

Author:
  Conor

Constructor Summary
`StaticIntIterator(int[] data, int size)` Create instance

Method Summary
`boolean` | `hasNext()` Check if there are more elements
`static void` | `main(java.lang.String[] args)`
`int` | `next()` Get next int

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StaticIntIterator

    public StaticIntIterator(int[] data,
                             int size)

  Create instance

  Parameters:
    `data` - array with data
    `size` - size

Method Detail

### hasNext

    public boolean hasNext()

  Description copied from interface: `IntIterator`
  Check if there are more elements

  Specified by:
    `hasNext` in interface `IntIterator`
  Returns:
    if there are more elements

### next

    public int next()

  Description copied from interface: `IntIterator`
  Get next int

  Specified by:
    `next` in interface `IntIterator`
  Returns:
    next int

### main

    public static void main(java.lang.String[] args)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD