Package: java.util

## [Java] Interface Spliterator

-     public interface Spliterator

  GDK enhancements for Spliterator.

  displayName:
    Spliterator
  receiverFqcn:
    java.util.Spliterator

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `<T>` | `public Stream<T>` | `stream()` Returns a sequential Stream with the specified element(s) as its source.

- - ### Method Detail

    - #### <T> public Stream<T> stream()

      Returns a sequential Stream with the specified element(s) as its source.

           assert [].spliterator().stream().toList().isEmpty()
           assert ['one', 'two'].spliterator().stream().toList() == ['one', 'two']

      Since:
        3.0.0