org.codehaus.gpars

groovyx.gpars.extra166y
[Java] Interface ParallelArray.SummaryStatistics


public static interface ParallelArray.SummaryStatistics

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

java.lang.Object max()

Returns the maximum element, or null if empty

java.lang.Object min()

Returns the minimum element, or null if empty

int size()

Returns the number of elements

 

Method Detail

indexOfMax

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


indexOfMin

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


max

public java.lang.Object max()
Returns the maximum element, or null if empty


min

public java.lang.Object min()
Returns the minimum element, or null if empty


size

public int size()
Returns the number of elements


 

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