所有类
org.omg.DynamicAny
类 DynUnionHelper
java.lang.Object
org.omg.DynamicAny.DynUnionHelper
-
public abstract class DynUnionHelper
- extends Object
DynUnion 对象支持对 IDL 联合数据 (union) 的操作。联合数据只能有两个有效的当前位置:
- 0,表示鉴别符 (discriminator)
- 1,表示活动成员
联合数据的 component_count 值依赖于当前鉴别符:其鉴别符指示一个指定成员的联合数据的 component_count 值为 2,其他情况为 1。
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynUnionHelper
public DynUnionHelper()
insert
public static void insert(Any a,
DynUnion that)
-
extract
public static DynUnion extract(Any a)
-
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)
-
narrow
public static DynUnion narrow(Object obj)
-