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
FieldsChangeModifier and TypeFieldDescriptionstatic final TraceBreakpointKind.TraceBreakpointKindSetREMOVEDRemovedREMOVEDRemovedREMOVEDREAD() RemovedREMOVEDWRITE() RemovedREMOVEDACCESS() Removed -
Constructor Summary
Constructors -
Method Summary
ChangeModifier and TypeMethodDescriptioncopyOf(Collection<TraceBreakpointKind> kinds) Convert a string of flags to a set of kinds.static StringConvert a set (or collection) of kinds to a string of flagsof(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, removeIf, retainAll, setCollection, size, toArray, toArrayMethods inherited from interface Collection
parallelStream, removeIf, stream, toArray
-
Field Details
-
EMPTY NEW
-
-
Constructor Details
-
TraceBreakpointKindSet
-
-
Method Details
-
of
-
copyOf
public static TraceBreakpointKind.TraceBreakpointKindSet copyOf(Collection<TraceBreakpointKind> kinds) -
decode
Convert a string of flags to a set of kinds.For backwards compatibility, this can also accept a comma-separated list of kind names. The backwards compatibility will eventually be removed. In the meantime, no string can exceed 3 flags, as this has to be able to distinguish which encoding to decode, and the shortest name is
TraceBreakpointKind.READ.- 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 string of flagsThe 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>
-