Package com.sun.star.uno
Class Any
java.lang.Object
com.sun.star.uno.Any
The UNO IDL type any is mapped to java type 
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).
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic final AnyComplete a UNOANY(make sure it is wrapped up as anAnyinstance).booleanIndicates whether some other object is equal to this one.Gets the value within the any.getType()Gets the type of the value within the any.inthashCode()Returns a hash code value for the object.toString()Returns a string representation of the object.
- 
Field Details- 
_typeThe type of the any.- See Also:
 
- 
_objectThe data of the any.- See Also:
 
- 
VOID
 
- 
- 
Constructor Details- 
AnyDeprecated.as of UDK 2.0Constructs a new any.- Parameters:
- zInterface- the type of the any.
- object- the data of the any.
 
- 
AnyConstructs a new any with a given type and value- Parameters:
- type- the UNO type of the any.
- object- the value of the any.
 
 
- 
- 
Method Details- 
completeComplete a UNOANY(make sure it is wrapped up as anAnyinstance).- Parameters:
- any- a Java value representing a UNO- ANYvalue.
- Returns:
- a complete Java value (that is, an Anyinstance) representing the same UNOANYvalue as the given argument.
- Since:
- UDK 3.2.3
 
- 
getTypeGets the type of the value within the any.- Returns:
- the type of the value within the any.
 
- 
getObjectGets the value within the any.- Returns:
- gets the value within the any.
 
- 
equalsIndicates whether some other object is equal to this one.
- 
hashCodepublic int hashCode()Returns a hash code value for the object.
- 
toStringReturns a string representation of the object.
 
-