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

## com.hp.hpl.jena.util.iterator
Class ArrayIterator

    java.lang.Object
      com.hp.hpl.jena.util.iterator.ArrayIterator

All Implemented Interfaces:
  java.util.Iterator

    public class ArrayIterator

extends java.lang.Object
implements java.util.Iterator

An Iterator for arrays.

Version:
  Release='$Name: $' Revision='$Revision: 1.7 $' Date='$Date: 2008/01/02 12:07:36 $'
Author:
  Jeremy Carroll

Constructor Summary
`ArrayIterator(java.lang.Object array)` Constructs an iterator over the members of an array.

Method Summary
`boolean` | `hasNext()`
`java.lang.Object` | `next()`
`void` | `remove()` Not supported.

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

Constructor Detail

### ArrayIterator

    public ArrayIterator(java.lang.Object array)

  Constructs an iterator over the members of an array. All arrays are supported including primitive types.

  Parameters:
    `array` - Must be an array.

Method Detail

### hasNext

    public boolean hasNext()

  Specified by:
    `hasNext` in interface `java.util.Iterator`

### next

    public java.lang.Object next()
                          throws java.util.NoSuchElementException

  Specified by:
    `next` in interface `java.util.Iterator`
  Throws:
    `java.util.NoSuchElementException`

### remove

    public void remove()

  Not supported.

  Specified by:
    `remove` in interface `java.util.Iterator`
  Throws:
    `java.lang.UnsupportedOperationException` - Always.

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

Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP