public final class FixedHolder extends Object implements Streamable
fixedholder是容器类的值类型的“固定”,而IDL映射到java类java.math.bigdecimal。它通常是用来存储“出”与“入”接口方法参数。如果一个IDL方法签名已经固定为“了”或“输入”参数,程序员必须通过FixedHolder的实例中的方法调用相应的参数;“输入”参数,程序员还必须填写“”值被发送到服务器。在方法调用返回,ORB将填写包含的值对应的“出”从服务器返回值。
Modifier and Type | Field and Description |
---|---|
BigDecimal |
value
FixedHolder举办的价值
|
Constructor and Description |
---|
FixedHolder()
构建fixedholder没有初始化所包含的价值。
|
FixedHolder(BigDecimal initial)
构建fixedholder初始化与给定值。
|
Modifier and Type | Method and Description |
---|---|
void |
_read(InputStream input)
从输入流中读取一个固定点的值,并将其存储在值成员中。
|
TypeCode |
_type()
返回此对象的
TypeCode 持有人。
|
void |
_write(OutputStream output)
写定点值存储在该持有人的
OutputStream 。
|
public BigDecimal value
public FixedHolder()
public FixedHolder(BigDecimal initial)
initial
-用于初始化fixedholder价值
public void _read(InputStream input)
_read
接口
Streamable
input
-
InputStream
读。
public void _write(OutputStream output)
OutputStream
。
_write
接口
Streamable
output
-
OutputStream
写入。
public TypeCode _type()
TypeCode
持有人。
_type
接口
Streamable
TypeCode
对象。
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, 2014, Oracle and/or its affiliates. All rights reserved.