|
GridGain 3.6.0e
Enterprise Edition |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gridgain.grid.lang.GridMetadataAwareAdapter
org.gridgain.grid.lang.GridLambdaAdapter
org.gridgain.grid.lang.GridInClosure<E1>
E1 - Type of the free variable, i.e. the element the closure is called or closed on.public abstract class GridInClosure<E1>
Defines a convenient side-effect only closure, i.e. the closure that has void return type.
| Wiki | |
| Forum |
GridFunc,
Serialized Form
![]() |
![]() |
| Constructor Summary | |
|---|---|
GridInClosure()
|
|
| Method Summary | ||
|---|---|---|
abstract void |
apply(E1 t)
In-closure body. |
|
|
compose(GridClosure<A,E1> c)
Gets closure that applies this closure over the result of given closure. |
|
|
compose(GridClosure2<A1,A2,E1> c)
Gets closure that applies this closure over the result of given closure. |
|
|
compose(GridClosure3<A1,A2,A3,E1> c)
Gets closure that applies this closure over the result of given closure. |
|
GridAbsClosure |
compose(GridOutClosure<E1> c)
Gets closure that applies this closure over the result of given closure. |
|
GridAbsClosure |
curry(E1 t)
Curries this closure with given value. |
|
|
uncurry2()
Gets closure that ignores its second argument and executes the same way as this in-closure with just one first argument. |
|
|
uncurry3()
Gets closure that ignores its second and third arguments and executes the same way as this in-closure with just one first argument. |
|
| Methods inherited from class org.gridgain.grid.lang.GridLambdaAdapter |
|---|
classLoader, deployClass, peerDeployLike, withMeta |
| Methods inherited from class org.gridgain.grid.lang.GridMetadataAwareAdapter |
|---|
addMeta, addMetaIfAbsent, addMetaIfAbsent, allMeta, clone, copyMeta, copyMeta, hasMeta, hasMeta, meta, putMetaIfAbsent, putMetaIfAbsent, readExternalMeta, removeMeta, removeMeta, replaceMeta, writeExternalMeta |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.gridgain.grid.GridMetadataAware |
|---|
addMeta, addMetaIfAbsent, addMetaIfAbsent, allMeta, copyMeta, copyMeta, hasMeta, hasMeta, meta, putMetaIfAbsent, putMetaIfAbsent, removeMeta, removeMeta, replaceMeta |
| Constructor Detail |
|---|
public GridInClosure()
| Method Detail |
|---|
public abstract void apply(E1 t)
t - Bound free variable, i.t. the element the closure is called or closed on.public GridAbsClosure curry(E1 t)
t - Value to curry with.
public <E2> GridInClosure2<E1,E2> uncurry2()
E2 - Type of 2nd argument that is ignored.
public <E2,E3> GridInClosure3<E1,E2,E3> uncurry3()
E2 - Type of 2nd argument that is ignored.E3 - Type of 3d argument that is ignored.
public GridAbsClosure compose(GridOutClosure<E1> c)
this closure over the result of given closure.
c - Closure.
public <A> GridInClosure<A> compose(GridClosure<A,E1> c)
this closure over the result of given closure.
A - Argument type of new closure.c - Closure.
public <A1,A2> GridInClosure2<A1,A2> compose(GridClosure2<A1,A2,E1> c)
this closure over the result of given closure.
A1 - First argument type of new closure.A2 - Second argument type of new closure.c - Closure.
public <A1,A2,A3> GridInClosure3<A1,A2,A3> compose(GridClosure3<A1,A2,A3,E1> c)
this closure over the result of given closure.
A1 - First argument type of new closure.A2 - Second argument type of new closure.A3 - Third argument type of new closure.c - Closure.
|
GridGain 3.6.0e
Enterprise Edition |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
GridGain - Real Time Big Data
|
|
|