Struct subclasses when receiving it from DBus.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < struct type T extends Struct> void | convertToStructCollection(Collection<Object[]>
list of object arrays to process _input, Class<T> struct class to create _structType, Collection<T> collection to store results _result)Creates a collection of struct of the given type using the list of object arrays. |
| public static < struct type T extends Struct> List | Returns: List of given struct typelist of object arrays to process _obj, Class<T> struct class to create _structType)Creates a |
| public static < struct type T extends Struct> Set | Returns: List of given struct typelist of object arrays to process _obj, Class<T> struct class to create _structType)Creates a |
| public static < type of struct T extends Struct> T | Returns: instance of _classToConstruct or null if any input argument is nullargument-classes expected by constructor _constructorArgs, Object values passed to the constructor _values, Class<T> Struct subclass to instantiateWill create a new |
| public static < type of struct T extends Struct> T | Returns: instance of _structClass or null if _variant is not Struct compatible or any input parameter is nullvariant to convert _variant, Class<T> Struct subclass to createCreates a instance of the given |
| StructHelper | back to summary |
|---|---|
| private StructHelper() | |
| convertToStructCollection | back to summary |
|---|---|
| public static <T extends Struct> void convertToStructCollection(Collection<Object[]> _input, Class<T> _structType, Collection<T> _result) throws NoSuchMethodException, SecurityException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException Creates a collection of struct of the given type using the list of object arrays.
| |
| convertToStructList | back to summary |
|---|---|
| public static <T extends Struct> List Creates a
| |
| convertToStructSet | back to summary |
|---|---|
| public static <T extends Struct> Set Creates a
| |
| createStruct | back to summary |
|---|---|
| public static <T extends Struct> T createStruct(Class<?>[] _constructorArgs, Object _values, Class<T> _classToConstruct) throws NoSuchMethodException, SecurityException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException Will create a new
| |
| createStructFromVariant | back to summary |
|---|---|
| public static <T extends Struct> T createStructFromVariant(Variant<?> _variant, Class<T> _structClass) throws NoSuchMethodException, SecurityException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException Creates a instance of the given
| |