| Package | Description |
|---|---|
| org.evrete.api |
| Modifier and Type | Method and Description |
|---|---|
default TypeField |
Type.declareBooleanField(String name,
Predicate<T> function)
Method declares a primitive
boolean field. |
default TypeField |
Type.declareDoubleField(String name,
ToDoubleFunction<T> function)
Method declares a primitive
double field. |
<V> TypeField |
Type.declareField(String name,
Class<V> type,
Function<T,V> function)
Field declaration with a
Function as value reader. |
<V> TypeField |
TypeWrapper.declareField(String name,
Class<V> type,
Function<T,V> function) |
default TypeField |
Type.declareIntField(String name,
ToIntFunction<T> function)
Method declares a primitive
int field. |
default TypeField |
Type.declareLongField(String name,
ToLongFunction<T> function)
Method declares a primitive
long field. |
TypeField |
FieldReference.field() |
TypeField |
Type.getField(int id)
Returns a declared field with the given name, or null
if no such field is found or resolved
|
TypeField |
TypeWrapper.getField(int id) |
TypeField |
Type.getField(String name)
Returns a declared field with the given name, or null
if no such field is found or resolved
|
TypeField |
TypeWrapper.getField(String name) |
| Modifier and Type | Method and Description |
|---|---|
Collection<TypeField> |
Type.getDeclaredFields()
Method returns ALL known fields, both explicitly declared and resolved.
|
Collection<TypeField> |
TypeWrapper.getDeclaredFields() |
Copyright © 2021. All rights reserved.