Package extra166y

Interface ParallelArray.SummaryStatistics<T>

Enclosing class:
ParallelArray<T>

public static interface ParallelArray.SummaryStatistics<T>
Summary statistics for a possibly bounded, filtered, and/or mapped ParallelArray.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Return the index of the maximum element, or -1 if empty
    int
    Return the index of the minimum element, or -1 if empty
    max()
    Return the maximum element, or null if empty
    min()
    Return the minimum element, or null if empty
    int
    Return the number of elements
  • Method Details

    • size

      int size()
      Return the number of elements
    • min

      T min()
      Return the minimum element, or null if empty
    • max

      T max()
      Return the maximum element, or null if empty
    • indexOfMin

      int indexOfMin()
      Return the index of the minimum element, or -1 if empty
    • indexOfMax

      int indexOfMax()
      Return the index of the maximum element, or -1 if empty