Interface AgentPropertyGetterFunction<T>
- Type Parameters:
T- the type of value the property carries
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for defining the getter logic of a functional agent property.
-
Method Summary
Modifier and TypeMethodDescriptionget(AgentContext context, T propertyValue) Returns the property's value.
-
Method Details
-
get
Returns the property's value.- Parameters:
context- the context the property can use in its getter logicpropertyValue- the property's currently stored value- Returns:
- the value the property should report
-