com.declarativa.interprolog.util
Class BasicTypeWrapper
java.lang.Object
|
+--com.declarativa.interprolog.util.BasicTypeWrapper
- All Implemented Interfaces:
- Serializable
- public class BasicTypeWrapper
- extends Object
- implements Serializable
A class used to serialize basic type values (int, boolean,...).
Contains a basic type wrapper object which at the proper time will provide the basic type value.
Useful to use Java methods whose arguments include basic types.
- See Also:
- Serialized Form
wrapper
public Object wrapper
BasicTypeWrapper
public BasicTypeWrapper(Object w)
basicTypeClass
public Class basicTypeClass()
toString
public String toString()
- Overrides:
toString
in class Object
instanceOfWrapper
public static boolean instanceOfWrapper(Object x)