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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int indexOfMax()
      Return the index of the maximum element, or -1 if empty
      int indexOfMin()
      Return the index of the minimum element, or -1 if empty
      T max()
      Return the maximum element, or null if empty
      T min()
      Return the minimum element, or null if empty
      int size()
      Return the number of elements
    • Method Detail

      • 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