R - Type of first argument and return value of the reducing functionsA - Input type of reducing function being chained toB - Input type of this reducing functionpublic abstract class AReducingFunctionOn<R,A,B> extends Object implements IReducingFunction<R,B>
| Modifier and Type | Field and Description |
|---|---|
protected IReducingFunction<R,? super A> |
rf |
| Constructor and Description |
|---|
AReducingFunctionOn(IReducingFunction<R,? super A> rf)
Constructs a reducing function that chains to the given
reducing function.
|
| Modifier and Type | Method and Description |
|---|---|
R |
apply()
Forwards to chained reducing function.
|
R |
apply(R result)
Forwards to chained reducing function.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyprotected IReducingFunction<R,? super A> rf
public AReducingFunctionOn(IReducingFunction<R,? super A> rf)
rf - a reducing function to chain topublic R apply()
apply in interface IReducingFunction<R,B>Copyright © 2014. All rights reserved.