jsr166z.forkjoin
Class Ops.LongMinReducer

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

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

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


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

Constructor Detail

Ops.LongMinReducer

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

Method Detail

invoke

public long invoke(long a,
                   long b)