java.lang.Object.
In special cases it is necessary to have an explicit any to additionally transport an exact type. For instance if you want to pass an object reference via an interprocess connection using an any, you should use this class to add an explicit interface type, so the remote counterpart doesn't need to invoke a queryInterface).
| Modifier and Type | Field and Description |
|---|---|
| protected Object | _object
The data of the any. |
| protected Type | _type
The type of the any. |
| public static final Any |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static final Any | |
| public boolean | Returns: true if this object is the same as the obj argument;
false otherwise.the reference object with which to compare. obj)Overrides java. Indicates whether some other object is equal to this one. |
| public Object | |
| public Type | |
| public int | Returns: a hash code value for this object.Overrides java. Returns a hash code value for the object. |
| public String | Returns: a string representation of the object.Overrides java. Returns a string representation of the object. |
| _object | back to summary |
|---|---|
| protected Object _object The data of the any.
| |
| _type | back to summary |
|---|---|
| protected Type _type The type of the any.
| |
| VOID | back to summary |
|---|---|
| public static final Any VOID | |
| Any | back to summary |
|---|---|
| public Any(Class<?> zInterface, Object object)
Deprecated as of UDK 2.0 Constructs a new any.
| |
| Any | back to summary |
|---|---|
| public Any(Type type, Object object) Constructs a new any with a given type and value | |
| complete | back to summary |
|---|---|
| public static final Any complete(Object any) Complete a UNO | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Indicates whether some other object is equal to this one.
| |
| getObject | back to summary |
|---|---|
| public Object getObject() Gets the value within the any.
| |
| getType | back to summary |
|---|---|
| public Type getType() Gets the type of the value within the any.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns a hash code value for the object.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string representation of the object.
| |