jsr166z.forkjoin
Class Ops.DoubleMinReducer

java.lang.Object
  extended by jsr166z.forkjoin.Ops.DoubleMinReducer
All Implemented Interfaces:
{double,double=>double}
Enclosing class:
Ops

public static final class Ops.DoubleMinReducer
extends java.lang.Object
implements {double,double=>double}

A reducer returning the minimum of two double elements, using the given comparator


Constructor Summary
Ops.DoubleMinReducer({double,double=>int} comparator)
          Creates a DoubleMinReducer using the given comparator
 
Method Summary
 double invoke(double a, double b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ops.DoubleMinReducer

public Ops.DoubleMinReducer({double,double=>int} comparator)
Creates a DoubleMinReducer using the given comparator

Method Detail

invoke

public double invoke(double a,
                     double b)