-
Classes in org.evrete.api that implement TypeField
| Modifier and Type |
Class |
Description |
class |
ActiveField |
A wrapper for TypeField that will actually be in use
by the runtime.
|
Methods in org.evrete.api that return TypeField
| Modifier and Type |
Method |
Description |
TypeField |
Type.declareField(String name,
Class<?> type,
String lambdaExpression) |
A field declaration through a lambda expression, like "o -> {return o.getSomeValue()}"
The expression may also contain valid Java code before returning its value.
|
<T> TypeField |
Type.declareField(String name,
Class<?> type,
Function<T,Object> function) |
Field declaration with a Function as value reader.
|
default <T> TypeField |
Type.declareField(String name,
Predicate<T> function) |
|
default <T> TypeField |
Type.declareField(String name,
ToDoubleFunction<T> function) |
|
default <T> TypeField |
Type.declareField(String name,
ToIntFunction<T> function) |
|
default <T> TypeField |
Type.declareField(String name,
ToLongFunction<T> function) |
|
TypeField |
ActiveField.getDelegate() |
|
TypeField |
Type.getField(String name) |
Returns a declared field with the given name, or null
if no such field is found.
|