Package com.oracle.nosql.spring.data.core

# Class IterableUtil

java.lang.Object
com.oracle.nosql.spring.data.core.IterableUtil

public class IterableUtil extends Object
Set of helping classes and methods to get Iterable, Iterator, Stream based on the results of a QueryRequest.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `IterableUtil.IterableImpl`
  `static class`
  `IterableUtil.IteratorImpl`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IterableUtil()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static <T> Iterable<T>`
  `getIterableFromStream(Stream<T> stream)`
  `static <T> Stream<T>`
  `getStreamFromIterable(Iterable<T> iterable)`
  `static <T> Stream<T>`
  `getStreamFromIterator(Iterator<T> iterator)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### IterableUtil

    public IterableUtil()

- ## Method Details

  - ### getIterableFromStream

    public static <T> Iterable<T> getIterableFromStream(Stream<T> stream)

  - ### getStreamFromIterable

    public static <T> Stream<T> getStreamFromIterable(@NonNull Iterable<T> iterable)

  - ### getStreamFromIterator

    public static <T> Stream<T> getStreamFromIterator(@NonNull Iterator<T> iterator)