Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 2.5.8 generated on January 11 2004
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.solarmetric.kodo.runtime.objectprovider
Class MergedResultList.OrderedMergedIterator

    java.lang.Object
      |
      +--com.solarmetric.kodo.runtime.objectprovider.MergedResultList.ImmutableListIterator
            |
            +--com.solarmetric.kodo.runtime.objectprovider.MergedResultList.OrderedMergedIterator

All Implemented Interfaces:
  Iterator, ListIterator

Enclosing class:
  MergedResultList

protected final class MergedResultList.OrderedMergedIterator
extends com.solarmetric.kodo.runtime.objectprovider.MergedResultList.ImmutableListIterator

This iterator provides support for maintaining result list ordering if a `Comparator` exists for the owning `MergedResultList.MergedIterator`.

Warning: this class is not thread-safe

Constructor Summary
`MergedResultList.OrderedMergedIterator(int requestedIndex)`

Method Summary
`void` | `add(Object o)` Not supported.
`boolean` | `hasNext()`
`boolean` | `hasPrevious()`
`Object` | `next()`
`int` | `nextIndex()`
`Object` | `previous()`
`int` | `previousIndex()`
`void` | `remove()` Not supported.
`void` | `set(Object o)` Not supported.

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

Constructor Detail

### MergedResultList.OrderedMergedIterator

    public MergedResultList.OrderedMergedIterator(int requestedIndex)

Method Detail

### hasNext

    public boolean hasNext()

### hasPrevious

    public boolean hasPrevious()

### next

    public Object next()

### previous

    public Object previous()

### nextIndex

    public int nextIndex()

### previousIndex

    public int previousIndex()

### add

    public final void add(Object o)
                   throws UnsupportedOperationException

  Not supported.
  Specified by:
    `add` in interface `ListIterator`
  Throws:
    `UnsupportedOperationException` - always

### set

    public final void set(Object o)
                   throws UnsupportedOperationException

  Not supported.
  Specified by:
    `set` in interface `ListIterator`
  Throws:
    `UnsupportedOperationException` - always

### remove

    public final void remove()
                      throws UnsupportedOperationException

  Not supported.
  Specified by:
    `remove` in interface `ListIterator`
  Throws:
    `UnsupportedOperationException` - always

Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 2.5.8 generated on January 11 2004
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.