groovyx.gpars.extra166y
Interface ParallelArray.SummaryStatistics<T>

All Known Implementing Classes:
PAS.FJOStats
Enclosing class:
ParallelArray<T>

public static interface ParallelArray.SummaryStatistics<T>

Summary statistics for a possibly bounded, filtered, and/or mapped ParallelArray.


Method Summary
 int indexOfMax()
          Returns the index of the maximum element, or -1 if empty
 int indexOfMin()
          Returns the index of the minimum element, or -1 if empty
 T max()
          Returns the maximum element, or null if empty
 T min()
          Returns the minimum element, or null if empty
 int size()
          Returns the number of elements
 

Method Detail

size

int size()
Returns the number of elements


min

T min()
Returns the minimum element, or null if empty


max

T max()
Returns the maximum element, or null if empty


indexOfMin

int indexOfMin()
Returns the index of the minimum element, or -1 if empty


indexOfMax

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


Copyright © 2008–2012 Václav Pech. All Rights Reserved.