public static interface UaOptionSet.Builder
| Modifier and Type | Method and Description |
|---|---|
UaOptionSet.Builder |
add(OptionSpecification... options)
Adds the given options (if they are part of
specification()). |
UaOptionSet.Builder |
addAll(Iterable<? extends OptionSpecification> options)
Adds the given options (if they are part of
specification()). |
UaOptionSet |
build()
Builds an
UaOptionSet with the data set to this UaOptionSet.Builder. |
UaOptionSet.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.
|
UaOptionSet.Builder |
remove(OptionSpecification... options)
Removes the given options (if they are part of
specification()). |
UaOptionSet.Builder |
removeAll(Iterable<? extends OptionSpecification> options)
Removes the given options (if they are part of
specification()). |
OptionSetSpecification |
specification()
Returns the specification of the
UaOptionSet being built. |
UaOptionSet.Builder add(OptionSpecification... options)
specification()). For OptionSet
Structures, this also sets the respective OptionSet.getValidBits() bits as set.UaOptionSet.Builder addAll(Iterable<? extends OptionSpecification> options)
specification()). For OptionSet
Structures, this also sets the respective OptionSet.getValidBits() bits as set.UaOptionSet build()
UaOptionSet 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.UaOptionSet.Builder clear()
boolean contains(OptionSpecification... options)
boolean containsAll(Iterable<? extends OptionSpecification> options)
UaOptionSet.Builder remove(OptionSpecification... options)
specification()). For
OptionSet Structures, this also sets the respective OptionSet.getValidBits()
bits as set.UaOptionSet.Builder removeAll(Iterable<? extends OptionSpecification> options)
specification()). For
OptionSet Structures, this also sets the respective OptionSet.getValidBits()
bits as set.OptionSetSpecification specification()
UaOptionSet being built.Copyright © 2026. All rights reserved.