Package com.embabel.agent.core
Class BlackboardKt
-
- All Implemented Interfaces:
public final class BlackboardKt
-
-
Method Summary
Modifier and Type Method Description final static BooleansatisfiesType(Object boundInstance, String type)Does the bound instance satisfy the type. final static <T extends Any> List<T>objectsOfType(Blackboard $self)Return all entries of a specific type final static <T extends Any> Integercount(Blackboard $self)Count entries of the given type final static <T extends Any> Tlast(Blackboard $self)Last entry of the given type, if there is one -
-
Method Detail
-
satisfiesType
final static Boolean satisfiesType(Object boundInstance, String type)
Does the bound instance satisfy the type. Match on simple name or FQN of type or any supertype
-
objectsOfType
final static <T extends Any> List<T> objectsOfType(Blackboard $self)
Return all entries of a specific type
-
count
final static <T extends Any> Integer count(Blackboard $self)
Count entries of the given type
-
last
final static <T extends Any> T last(Blackboard $self)
Last entry of the given type, if there is one
-
-
-
-