Interface Collector<T>


public interface Collector<T>
  • Method Details

    • collect

      @NotNull @NotNull List<@NotNull T> collect()
    • assertSingle

      default <P extends T> void assertSingle(@NotNull @NotNull Class<P> type, @NotNull @NotNull Consumer<P> consumer)
    • assertSingle

      default void assertSingle(@NotNull @NotNull Consumer<T> consumer)
    • assertCount

      default void assertCount(int count)
    • assertSingle

      default void assertSingle()
    • assertEmpty

      default void assertEmpty()