Package ghidra.trace.model.breakpoint
Class TraceBreakpointKind.TraceBreakpointKindSet
java.lang.Object
org.apache.commons.collections4.collection.AbstractCollectionDecorator<TraceBreakpointKind>
org.apache.commons.collections4.set.AbstractSetDecorator<TraceBreakpointKind>
ghidra.trace.model.breakpoint.TraceBreakpointKind.TraceBreakpointKindSet
- All Implemented Interfaces:
Serializable,Iterable<TraceBreakpointKind>,Collection<TraceBreakpointKind>,Set<TraceBreakpointKind>
- Enclosing class:
TraceBreakpointKind
public static class TraceBreakpointKind.TraceBreakpointKindSet
extends org.apache.commons.collections4.set.AbstractSetDecorator<TraceBreakpointKind>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TraceBreakpointKind.TraceBreakpointKindSetstatic final TraceBreakpointKind.TraceBreakpointKindSetstatic final TraceBreakpointKind.TraceBreakpointKindSetstatic final TraceBreakpointKind.TraceBreakpointKindSetstatic final TraceBreakpointKind.TraceBreakpointKindSet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyOf(Collection<TraceBreakpointKind> kinds) Convert a comma-separated list of kind names to a set of kinds.static StringConvert a set (or collection) of kinds to a comma-separated list of names.of(TraceBreakpointKind... kinds) toString()Methods inherited from class org.apache.commons.collections4.set.AbstractSetDecorator
decorated, equals, hashCodeMethods inherited from class org.apache.commons.collections4.collection.AbstractCollectionDecorator
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, setCollection, size, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Field Details
-
SW_EXECUTE
-
HW_EXECUTE
-
READ
-
WRITE
-
ACCESS
-
-
Constructor Details
-
TraceBreakpointKindSet
-
-
Method Details
-
of
-
copyOf
public static TraceBreakpointKind.TraceBreakpointKindSet copyOf(Collection<TraceBreakpointKind> kinds) -
decode
Convert a comma-separated list of kind names to a set of kinds.- Parameters:
encoded- the encoded liststrict- true to report unrecognized kinds, false to ignore- Returns:
- the decoded set
-
encode
Convert a set (or collection) of kinds to a comma-separated list of names. The list is always encoded in order of the declaration of kinds (enum order).- Parameters:
col- the set- Returns:
- the encoded list
-
toString
- Overrides:
toStringin classorg.apache.commons.collections4.collection.AbstractCollectionDecorator<TraceBreakpointKind>
-