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

## org.modeshape.jcr.query
Class JcrQueryResult.QueryResultNodeIterator

    java.lang.Object
      org.modeshape.jcr.query.JcrQueryResult.QueryResultNodeIterator

All Implemented Interfaces:
  Iterator, NodeIterator, RangeIterator

Enclosing class:
  JcrQueryResult

    @NotThreadSafe
    protected static class JcrQueryResult.QueryResultNodeIterator

extends Object
implements NodeIterator

The `NodeIterator` implementation returned by the `JcrQueryResult`.

See Also:
  `JcrQueryResult.getNodes()`

Constructor Summary
`protected` | `JcrQueryResult.QueryResultNodeIterator(List<? extends Node> nodes)`

Method Summary
`long` | `getPosition()`
`long` | `getSize()`
`boolean` | `hasNext()`
`Object` | `next()`
`Node` | `nextNode()`
`void` | `remove()`
`void` | `skip(long skipNum)`

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

Constructor Detail

### JcrQueryResult.QueryResultNodeIterator

    protected JcrQueryResult.QueryResultNodeIterator(List<? extends Node> nodes)

Method Detail

### nextNode

    public Node nextNode()

  Specified by:
    `nextNode` in interface `NodeIterator`
  See Also:
    `NodeIterator.nextNode()`

### getPosition

    public long getPosition()

  Specified by:
    `getPosition` in interface `RangeIterator`
  See Also:
    `RangeIterator.getPosition()`

### getSize

    public long getSize()

  Specified by:
    `getSize` in interface `RangeIterator`
  See Also:
    `RangeIterator.getSize()`

### skip

    public void skip(long skipNum)

  Specified by:
    `skip` in interface `RangeIterator`
  See Also:
    `RangeIterator.skip(long)`

### hasNext

    public boolean hasNext()

  Specified by:
    `hasNext` in interface `Iterator`
  See Also:
    `Iterator.hasNext()`

### next

    public Object next()

  Specified by:
    `next` in interface `Iterator`
  See Also:
    `Iterator.next()`

### remove

    public void remove()

  Specified by:
    `remove` in interface `Iterator`
  See Also:
    `Iterator.remove()`

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 © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.