public final class OptionSetUtils extends Object
OptionSetDataType codegenerated classes.| Modifier and Type | Class and Description |
|---|---|
static interface |
OptionSetUtils.Factory<T,S>
Helper factory interface for internal use.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends OptionSetDataType<?,?>> |
checkInterned(T instance)
Returns a possibly interned version of the given instance.
|
static <T extends Number,S extends AbstractOptionSetDataType<?,T,?,?>> |
convert(Variant value,
Class<T> builtInTypeClass,
Class<S> optionSetClass,
OptionSetUtils.Factory<T,S> factory)
Converts the given Variant to an equal ValueRank output (scalar or somedimensional array) of
the given OptionSet type.
|
static <T extends OptionSetDataType<?,?>> |
intern(T instance)
Interns the given object permanently to memory (unless equivalent already exists).
|
public static final <T extends OptionSetDataType<?,?>> T checkInterned(T instance)
public static final <T extends Number,S extends AbstractOptionSetDataType<?,T,?,?>> Object convert(Variant value, Class<T> builtInTypeClass, Class<S> optionSetClass, OptionSetUtils.Factory<T,S> factory) throws StatusException
StatusException - if the Variant cannot be converted.public static <T extends OptionSetDataType<?,?>> T intern(T instance)
Copyright © 2026. All rights reserved.