Interface AsyncIterable<T>

All Known Subinterfaces:
AsyncDistributedCollection<E>, AsyncDistributedMultiset<E>, AsyncDistributedSet<E>

public interface AsyncIterable<T>
Asynchronously iterable object.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an asynchronous iterator.
    default Stream<T>
    Returns a stream.
  • Method Details

    • iterator

      AsyncIterator<T> iterator()
      Returns an asynchronous iterator.
      Returns:
      an asynchronous iterator
    • stream

      default Stream<T> stream()
      Returns a stream.
      Returns:
      a new stream