org.modeshape.jcr

## Interface InfinispanUtil.Sequence<T>

- Type Parameters:
    `T` - the key type
  Enclosing class:
    InfinispanUtil

      public static interface InfinispanUtil.Sequence<T>

  A sequence of values. This abstracts how the values are obtained.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasNext()`
    `T` | `next()` Get the next values.

- - ### Method Detail

    - #### next

          T next()
                 throws ExecutionException,
                        CancellationException,
                        InterruptedException

      Get the next values.
      Returns:
        the next value, or null if there are no more values.
      Throws:
        `ExecutionException` - if there is an exception obtaining the next value
        `CancellationException` - if the operation finding the values has been cancelled
        `InterruptedException` - if the operation finding the values has been interrupted

    - #### hasNext

          boolean hasNext()

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