jsr166z.forkjoin
Class Ops.CompoundMapper<T,U,V>

java.lang.Object
  extended by jsr166z.forkjoin.Ops.CompoundMapper<T,U,V>
All Implemented Interfaces:
{T=>V}
Enclosing class:
Ops

public static final class Ops.CompoundMapper<T,U,V>
extends java.lang.Object
implements {T=>V}

A composite mapper that applies a second mapper to the results of applying the first one


Constructor Summary
Ops.CompoundMapper({T=>U} first, {U=>V} second)
           
 
Method Summary
 V invoke(T t)
          Returns second.invoke(first.invoke(t))
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ops.CompoundMapper

public Ops.CompoundMapper({T=>U} first,
                          {U=>V} second)
Method Detail

invoke

public V invoke(T t)
Returns second.invoke(first.invoke(t))