Class Any
java.lang.Object
com.ericsson.otp.ic.Any
- Direct Known Subclasses:
Term
The Any class is the java mapping of the any OMG-IDL type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAny comparison methodAtom value extractor methodbooleanBoolean value extractor methodcharChar value extractor methoddoubleDouble value extractor methodfloatFloat value extractor methodintLong value extractor methodlongLong Long value extractor methodbyteOctet value extractor methodshortShort value extractor methodcom.ericsson.otp.erlang.OtpInputStreamObject Stream extractor methodString value extractor methodintUnsigned Long value extractor methodlongUnsigned Long Long value extractor methodshortUnsigned Short value extractor methodcharWchar value extractor methodWstring value extractor methodvoidAtom value insertion methodvoidinsert_boolean(boolean b) Boolean value insertion methodvoidinsert_char(char c) Char value insertion methodvoidinsert_double(double d) Double value insertion methodvoidinsert_float(float f) Float value insertion methodvoidinsert_long(int i) Long value insertion methodvoidinsert_longlong(long l) Long Long value insertion methodvoidinsert_octet(byte b) Octet value insertion methodvoidinsert_short(short s) Short value insertion methodvoidinsert_Streamable(com.ericsson.otp.erlang.OtpOutputStream _os) Object Stream insertion methodvoidString value insertion methodvoidinsert_ulong(int i) Unsigned Long value insertion methodvoidinsert_ulonglong(long l) Unsigned Long Long value insertion methodvoidinsert_ushort(short s) Unsigned Short value insertion methodvoidinsert_wchar(char c) Wchar value insertion methodvoidWstring value insertion methodvoidread_value(com.ericsson.otp.erlang.OtpInputStream _is, TypeCode _tc) Reads a value from the stream, according to the inserted TypeCodetype()TypeCode accessor methodvoidTypeCode insertion methodvoidwrite_value(com.ericsson.otp.erlang.OtpOutputStream _os) Writes the Any's value to the ouput stream
-
Constructor Details
-
Any
public Any()
-
-
Method Details
-
equal
Any comparison method- Returns:
- true if the input Any is equal to the object, false otherwize
-
type
-
type
TypeCode insertion method -
read_value
-
write_value
-
extract_short
-
insert_short
public void insert_short(short s) Short value insertion method -
extract_long
-
insert_long
public void insert_long(int i) Long value insertion method -
extract_longlong
-
insert_longlong
public void insert_longlong(long l) Long Long value insertion method -
extract_ushort
-
insert_ushort
public void insert_ushort(short s) Unsigned Short value insertion method -
extract_ulong
-
insert_ulong
public void insert_ulong(int i) Unsigned Long value insertion method -
extract_ulonglong
-
insert_ulonglong
public void insert_ulonglong(long l) Unsigned Long Long value insertion method -
extract_float
-
insert_float
public void insert_float(float f) Float value insertion method -
extract_double
-
insert_double
public void insert_double(double d) Double value insertion method -
extract_boolean
-
insert_boolean
public void insert_boolean(boolean b) Boolean value insertion method -
extract_char
-
insert_char
public void insert_char(char c) Char value insertion method -
extract_wchar
-
insert_wchar
public void insert_wchar(char c) Wchar value insertion method -
extract_octet
-
insert_octet
public void insert_octet(byte b) Octet value insertion method -
extract_string
-
insert_string
String value insertion method -
extract_wstring
-
insert_wstring
Wstring value insertion method -
extract_atom
-
insert_atom
Atom value insertion method -
insert_Streamable
public void insert_Streamable(com.ericsson.otp.erlang.OtpOutputStream _os) Object Stream insertion method -
extract_Streamable
public com.ericsson.otp.erlang.OtpInputStream extract_Streamable()Object Stream extractor method- Returns:
- OtpInputStream, the stream value of Any
-