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

## sharin.unlinq
Class QueuedIterator<T,E,R>

    java.lang.Object
      sharin.unlinq.QueuedIterator<T,E,R>

All Implemented Interfaces:
  Iterator<R>

    public abstract class QueuedIterator<T,E,R>

extends Object
implements Iterator<R>

Constructor Summary
`QueuedIterator(Iterator<T> iterator)`

Method Summary
`protected abstract void` | `addElement(Queue<E> queue, T t)`
`boolean` | `hasNext()`
`R` | `next()`
`void` | `remove()`
`protected abstract R` | `toResult(E e)`

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

Constructor Detail

### QueuedIterator

    public QueuedIterator(Iterator<T> iterator)

Method Detail

### addElement

    protected abstract void addElement(Queue<E> queue,
                                       T t)

### toResult

    protected abstract R toResult(E e)

### hasNext

    public boolean hasNext()

  Specified by:
    `hasNext` in interface `Iterator<R>`

### next

    public R next()

  Specified by:
    `next` in interface `Iterator<R>`

### remove

    public void remove()

  Specified by:
    `remove` in interface `Iterator<R>`

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 © 2009 SHU. All Rights Reserved.