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()

int indexOfMin()

Returns the index of the maximum element, or -1 if empty

java.lang.Object max()

Returns the index of the minimum element, or -1 if empty

java.lang.Object min()

Returns the maximum element, or null if empty

int size()

Returns the minimum element, or null if empty

 

Method Detail

indexOfMax

public int indexOfMax()


indexOfMin

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


max

public java.lang.Object max()
Returns the index of the minimum element, or -1 if empty


min

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


size

public int size()
Returns the minimum element, or null if empty


 

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