Interface Flow.SplitComparator<T>

  • Type Parameters:
    T - the element type
    Enclosing interface:
    Flow<T>

    public static interface Flow.SplitComparator<T>
    Functional interface for splitting elements into three categories.
    • Method Detail

      • test

        int test​(T value)
        Tests an element and returns a comparison result.
        Parameters:
        value - the element to test
        Returns:
        positive, negative, or zero to indicate category