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 IteratorIterator

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

All Implemented Interfaces:
  java.util.Iterator

    public class IteratorIterator

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

Given an Iterator that returns Iterator's, this creates an Iterator over the next level values. Similar to list splicing in lisp.

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

Constructor Summary
`IteratorIterator(java.util.Iterator e)` The first element of this Iterator is the first element of the first non-empty element of `e`.

Method Summary
`boolean` | `hasNext()` Is there another element in one of the Iterator's still to consider.
`java.lang.Object` | `next()`
`void` | `remove()` remove's the element from the underlying Iterator in which it is a member.

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

Constructor Detail

### IteratorIterator

    public IteratorIterator(java.util.Iterator e)

  The first element of this Iterator is the first element of the first non-empty element of `e`.

  Parameters:
    `e` - An Iterator all of whose members are themselves Iterator's.

Method Detail

### hasNext

    public boolean hasNext()

  Is there another element in one of the Iterator's still to consider.

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

### next

    public java.lang.Object next()

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

### remove

    public void remove()

  remove's the element from the underlying Iterator in which it is a member.

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

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