org.modeshape.jcr.query

## Interface BufferManager.DistinctBuffer<T>

- Type Parameters:
    `T` - the type of the distinct value
  All Superinterfaces:
    AutoCloseable, BufferManager.Buffer, BufferManager.Predicate<T>, Iterable<T>
  All Known Implementing Classes:
    BufferManager.CloseableDistinctBuffer
  Enclosing class:
    BufferManager

      public static interface BufferManager.DistinctBuffer<T>
      extends BufferManager.Buffer, Iterable<T>, BufferManager.Predicate<T>

  A buffer used to determine distinct values.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Iterator<T>` | `iterator()` Get an iterator over all of the records.

    - ### Methods inherited from interface org.modeshape.jcr.query.BufferManager.Buffer

      `close, isEmpty, size`

    - ### Methods inherited from interface org.modeshape.jcr.query.BufferManager.Predicate

      `addIfAbsent`

- - ### Method Detail

    - #### iterator

          Iterator<T> iterator()

      Get an iterator over all of the records.
      Specified by:
        `iterator` in interface `Iterable<T>`
      Returns:
        the iterator; never null

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.