jsr166z.forkjoin
Class Ops.LongMaxReducer

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

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

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


Constructor Summary
Ops.LongMaxReducer({long,long=>int} comparator)
          Creates a LongMaxReducer 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.LongMaxReducer

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

Method Detail

invoke

public long invoke(long a,
                   long b)