public static class Union.Builder extends DynamicStructure.Builder
| Modifier | Constructor and Description |
|---|---|
protected |
Builder(UaDataTypeSpecification specification,
Supplier<? extends Structure> emptyInstanceSupplier) |
| Modifier and Type | Method and Description |
|---|---|
Union |
build()
Builds a Structure with the given data.
|
protected <T> T |
indexGet(int index)
Returns the field in the given index.
|
protected <T> void |
indexSet(T value,
int index)
Sets the given value to the given index.
|
clear, equals, get, get, hashCode, set, set, specification, toStringprotected Builder(UaDataTypeSpecification specification, Supplier<? extends Structure> emptyInstanceSupplier)
public Union build()
Structure.Builderbuild in interface Structure.Builderbuild in class DynamicStructure.Builderprotected <T> T indexGet(int index)
AbstractStructure.BuilderindexGet in class AbstractStructure.Builderprotected <T> void indexSet(T value,
int index)
AbstractStructure.BuilderindexSet in class AbstractStructure.BuilderCopyright © 2026. All rights reserved.