public static class DynamicUIntOptionSet.Builder extends Object implements UaOptionSet.Builder
DynamicUIntOptionSet.| Modifier and Type | Method and Description |
|---|---|
DynamicUIntOptionSet.Builder |
add(OptionSpecification... options)
Adds the given options (if they are part of
UaOptionSet.Builder.specification()). |
DynamicUIntOptionSet.Builder |
addAll(Iterable<? extends OptionSpecification> options)
Adds the given options (if they are part of
UaOptionSet.Builder.specification()). |
DynamicUIntOptionSet |
build()
Builds an
UaOptionSet with the data set to this UaOptionSet.Builder. |
DynamicUIntOptionSet.Builder |
clear()
Clears all options.
|
boolean |
contains(OptionSpecification... options)
Returns true if the given options are set in the builder, false otherwise.
|
boolean |
containsAll(Iterable<? extends OptionSpecification> options)
Returns true if the given options are set in the builder, false otherwise.
|
DynamicUIntOptionSet.Builder |
remove(OptionSpecification... options)
Removes the given options (if they are part of
UaOptionSet.Builder.specification()). |
DynamicUIntOptionSet.Builder |
removeAll(Iterable<? extends OptionSpecification> options)
Removes the given options (if they are part of
UaOptionSet.Builder.specification()). |
OptionSetSpecification |
specification()
Returns the specification of the
UaOptionSet being built. |
public DynamicUIntOptionSet.Builder add(OptionSpecification... options)
UaOptionSet.BuilderUaOptionSet.Builder.specification()). For OptionSet
Structures, this also sets the respective OptionSet.getValidBits() bits as set.add in interface UaOptionSet.Builderpublic DynamicUIntOptionSet.Builder addAll(Iterable<? extends OptionSpecification> options)
UaOptionSet.BuilderUaOptionSet.Builder.specification()). For OptionSet
Structures, this also sets the respective OptionSet.getValidBits() bits as set.addAll in interface UaOptionSet.Builderpublic DynamicUIntOptionSet build()
UaOptionSet.BuilderUaOptionSet with the data set to this UaOptionSet.Builder. This method may
return a cached instance. Implementation should override this method to return the concrete
type.build in interface UaOptionSet.Builderpublic DynamicUIntOptionSet.Builder clear()
UaOptionSet.Builderclear in interface UaOptionSet.Builderpublic boolean contains(OptionSpecification... options)
UaOptionSet.Buildercontains in interface UaOptionSet.Builderpublic boolean containsAll(Iterable<? extends OptionSpecification> options)
UaOptionSet.BuildercontainsAll in interface UaOptionSet.Builderpublic DynamicUIntOptionSet.Builder remove(OptionSpecification... options)
UaOptionSet.BuilderUaOptionSet.Builder.specification()). For
OptionSet Structures, this also sets the respective OptionSet.getValidBits()
bits as set.remove in interface UaOptionSet.Builderpublic DynamicUIntOptionSet.Builder removeAll(Iterable<? extends OptionSpecification> options)
UaOptionSet.BuilderUaOptionSet.Builder.specification()). For
OptionSet Structures, this also sets the respective OptionSet.getValidBits()
bits as set.removeAll in interface UaOptionSet.Builderpublic OptionSetSpecification specification()
UaOptionSet.BuilderUaOptionSet being built.specification in interface UaOptionSet.BuilderCopyright © 2026. All rights reserved.