Interface Stage.Distinct

  • All Superinterfaces:
    Enclosing interface:

    public static interface Stage.Distinct
    extends Stage
    A stage returning a stream consisting of the distinct elements (according to Object.equals(Object)) of this stream.

    Any RuntimeException thrown by the equals or hashCode methods of elements must be propagated downstream as an error, and upstream must be cancelled.