jsr166z.forkjoin
Class Ops.IntMinReducer

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

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

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


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

Constructor Detail

Ops.IntMinReducer

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

Method Detail

invoke

public int invoke(int a,
                  int b)