Interface Pipe<I,​O>

    • Method Detail

      • isSorted

        default boolean isSorted()
      • create

        static <T> Pipe<T,​T> create()
      • of

        static <T> Pipe<T,​T> of​(java.util.Collection<T> collection)
      • filter

        default Pipe<O,​O> filter​(java.util.function.Predicate<? super O> predicate)
      • map

        default <R> Pipe<O,​R> map​(java.util.function.Function<? super O,​? extends R> mapper)
      • flatMap

        default <R> Pipe<O,​R> flatMap​(java.util.function.Function<? super O,​? extends Reference<? extends R>> mapper)
      • distinct

        default Pipe<O,​O> distinct()
      • peek

        default Pipe<O,​O> peek​(java.util.function.Consumer<? super O> action)
      • limit

        default Pipe<O,​O> limit​(long maxSize)
      • skip

        default Pipe<O,​O> skip​(long skip)
      • forEach

        default void forEach​(java.util.function.Consumer<? super O> action)
      • sorted

        default Pipe<O,​O> sorted()
      • sorted

        default Pipe<O,​O> sorted​(java.util.Comparator<? super O> comparator)
      • findFirst

        @NotNull
        default @NotNull Processor<O> findFirst()
      • findAny

        @NotNull
        default @NotNull Processor<O> findAny()
      • remove

        default boolean remove​(O item)
                        throws java.lang.UnsupportedOperationException
        Specified by:
        remove in interface ReferenceIndex<I>
        Throws:
        java.lang.UnsupportedOperationException
      • pump

        default Pump<I,​O> pump​(java.util.concurrent.Executor executor)
        Specified by:
        pump in interface Pipeable<I>
      • accept

        default void accept​(I input)
        Specified by:
        accept in interface java.util.function.Consumer<I>
      • span

        default Span<O> span()