|
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.GridAbsPredicate
public abstract class GridAbsPredicate
Defines absolute (no-arg) predicate construct. Predicate like closure is a first-class function that is defined with (or closed over) its free variables that are bound to the closure scope at execution.
P1 class or various factory methods in
GridFunc class. Note, however, that since typedefs in Java rely on inheritance you should
not use these type aliases in signatures.
| Wiki | |
| Forum |
P1,
GridFunc,
Serialized Form
![]() |
![]() |
| Constructor Summary | |
|---|---|
GridAbsPredicate()
|
|
| Method Summary | ||
|---|---|---|
|
andThen(GridClosure<Boolean,A> c)
Gets closure that applies given closure over the result of this predicate. |
|
GridAbsClosure |
andThen(GridInClosure<Boolean> c)
Gets closure that applies given closure over the result of this predicate. |
|
GridAbsPredicate |
andThen(GridPredicate<Boolean> c)
Gets predicate that applies given predicate over the result of this predicate. |
|
abstract boolean |
apply()
Predicate body. |
|
|
uncurry()
Gets predicate that ignores its argument and returns the same value as this predicate. |
|
|
uncurry2()
Gets predicate that ignores its arguments and returns the same value as this predicate. |
|
|
uncurry3()
Gets predicate that ignores its arguments and returns the same value as this predicate. |
|
| 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 GridAbsPredicate()
| Method Detail |
|---|
public abstract boolean apply()
public <E> GridPredicate<E> uncurry()
E - Type of ignore argument.
public <E1,E2> GridPredicate2<E1,E2> uncurry2()
E1 - Type of 1st ignore argument.E2 - Type of 2nd ignore argument.
public <E1,E2,E3> GridPredicate3<E1,E2,E3> uncurry3()
E1 - Type of 1st ignore argument.E2 - Type of 2nd ignore argument.E3 - Type of 3d ignore argument.
public <A> GridOutClosure<A> andThen(GridClosure<Boolean,A> c)
this predicate.
A - Return type of new closure.c - Closure.
public GridAbsClosure andThen(GridInClosure<Boolean> c)
this predicate.
c - Closure.
public GridAbsPredicate andThen(GridPredicate<Boolean> c)
this predicate.
c - Predicate.
|
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
|
|
|