Package com.ericsson.otp.ic
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 TypeMethodDescriptionboolean
Any comparison methodAtom value extractor methodboolean
Boolean value extractor methodchar
Char value extractor methoddouble
Double value extractor methodfloat
Float value extractor methodint
Long value extractor methodlong
Long Long value extractor methodbyte
Octet value extractor methodshort
Short value extractor methodcom.ericsson.otp.erlang.OtpInputStream
Object Stream extractor methodString value extractor methodint
Unsigned Long value extractor methodlong
Unsigned Long Long value extractor methodshort
Unsigned Short value extractor methodchar
Wchar value extractor methodWstring value extractor methodvoid
Atom value insertion methodvoid
insert_boolean
(boolean b) Boolean value insertion methodvoid
insert_char
(char c) Char value insertion methodvoid
insert_double
(double d) Double value insertion methodvoid
insert_float
(float f) Float value insertion methodvoid
insert_long
(int i) Long value insertion methodvoid
insert_longlong
(long l) Long Long value insertion methodvoid
insert_octet
(byte b) Octet value insertion methodvoid
insert_short
(short s) Short value insertion methodvoid
insert_Streamable
(com.ericsson.otp.erlang.OtpOutputStream _os) Object Stream insertion methodvoid
String value insertion methodvoid
insert_ulong
(int i) Unsigned Long value insertion methodvoid
insert_ulonglong
(long l) Unsigned Long Long value insertion methodvoid
insert_ushort
(short s) Unsigned Short value insertion methodvoid
insert_wchar
(char c) Wchar value insertion methodvoid
Wstring value insertion methodvoid
read_value
(com.ericsson.otp.erlang.OtpInputStream _is, TypeCode _tc) Reads a value from the stream, according to the inserted TypeCodetype()
TypeCode accessor methodvoid
TypeCode insertion methodvoid
write_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
TypeCode accessor method- Returns:
- the Any's TypeCode
-
type
TypeCode insertion method -
read_value
Reads a value from the stream, according to the inserted TypeCode- Throws:
Exception
-
write_value
Writes the Any's value to the ouput stream- Throws:
Exception
-
extract_short
Short value extractor method- Returns:
- short, the value of Any
- Throws:
Exception
-
insert_short
public void insert_short(short s) Short value insertion method -
extract_long
Long value extractor method- Returns:
- int, the value of Any
- Throws:
Exception
-
insert_long
public void insert_long(int i) Long value insertion method -
extract_longlong
Long Long value extractor method- Returns:
- long, the value of Any
- Throws:
Exception
-
insert_longlong
public void insert_longlong(long l) Long Long value insertion method -
extract_ushort
Unsigned Short value extractor method- Returns:
- short, the value of Any
- Throws:
Exception
-
insert_ushort
public void insert_ushort(short s) Unsigned Short value insertion method -
extract_ulong
Unsigned Long value extractor method- Returns:
- int, the value of Any
- Throws:
Exception
-
insert_ulong
public void insert_ulong(int i) Unsigned Long value insertion method -
extract_ulonglong
Unsigned Long Long value extractor method- Returns:
- long, the value of Any
- Throws:
Exception
-
insert_ulonglong
public void insert_ulonglong(long l) Unsigned Long Long value insertion method -
extract_float
Float value extractor method- Returns:
- float, the value of Any
- Throws:
Exception
-
insert_float
public void insert_float(float f) Float value insertion method -
extract_double
Double value extractor method- Returns:
- double, the value of Any
- Throws:
Exception
-
insert_double
public void insert_double(double d) Double value insertion method -
extract_boolean
Boolean value extractor method- Returns:
- boolean, the value of Any
- Throws:
Exception
-
insert_boolean
public void insert_boolean(boolean b) Boolean value insertion method -
extract_char
Char value extractor method- Returns:
- char, the value of Any
- Throws:
Exception
-
insert_char
public void insert_char(char c) Char value insertion method -
extract_wchar
Wchar value extractor method- Returns:
- char, the value of Any
- Throws:
Exception
-
insert_wchar
public void insert_wchar(char c) Wchar value insertion method -
extract_octet
Octet value extractor method- Returns:
- byte, the value of Any
- Throws:
Exception
-
insert_octet
public void insert_octet(byte b) Octet value insertion method -
extract_string
String value extractor method- Returns:
- String, the value of Any
- Throws:
Exception
-
insert_string
String value insertion method -
extract_wstring
Wstring value extractor method- Returns:
- String, the value of Any
- Throws:
Exception
-
insert_wstring
Wstring value insertion method -
extract_atom
Atom value extractor method- Returns:
- atom, the value of Any
- Throws:
Exception
-
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
-