Enum Class TraceMemoryOperations.StatePredicate

java.lang.Object
java.lang.Enum<TraceMemoryOperations.StatePredicate>
ghidra.trace.model.memory.TraceMemoryOperations.StatePredicate
All Implemented Interfaces:
Serializable, Comparable<TraceMemoryOperations.StatePredicate>, Constable, Predicate<TraceMemoryState>
Enclosing interface:
TraceMemoryOperations

public static enum TraceMemoryOperations.StatePredicate extends Enum<TraceMemoryOperations.StatePredicate> implements Predicate<TraceMemoryState>
Built-in predicates for filtering/testing state entries

Many methods accept an unrestricted Predicate on TraceMemoryState. However, use of these built-ins is strongly recommended for two reasons: 1) They handle conventional cases, e.g., null representing TraceMemoryState.UNKNOWN. 2) Caching depends on the implementation being able to recognize the identity of the predicate. This generally cannot be done with lambda methods.