org.omg.DynamicAny
Class DynUnionHelper
- java.lang.Object
-
- org.omg.DynamicAny.DynUnionHelper
-
public abstract class DynUnionHelper extends Object
DynUnion objects support the manipulation of IDL unions. A union can have only two valid current positions:- zero, which denotes the discriminator
- one, which denotes the active member
-
-
Constructor Summary
Constructors Constructor and Description DynUnionHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static DynUnion
extract(Any a)
static String
id()
static void
insert(Any a, DynUnion that)
static DynUnion
narrow(Object obj)
static DynUnion
read(InputStream istream)
static TypeCode
type()
static DynUnion
unchecked_narrow(Object obj)
static void
write(OutputStream ostream, DynUnion value)
-
-
-
Method Detail
type
public static TypeCode type()
id
public static String id()
read
public static DynUnion read(InputStream istream)
write
public static void write(OutputStream ostream, DynUnion value)
-
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.