Class
JPiccola
A JPiccola class represents the class of a wrapped Java object.
The JPiccola class contains the following bindings:
- A new binding, if the corresponding Java class has public constructors.
- A binding for each public static final field of the corresponding Java class. The label of the binding is identical with the name of the field, the value of the bindings is the wrapped value of the field.
- A binding for every public static call of the corresponding Java class.
Example
The JPiccola class representing the Java class java.lang.Integer provides the following bindings:
binding | corresponding Java field / methods |
new | public Integer(int) public Integer(String) |
MAX_VALUE | public static int MAX_VALUE |
MIN_VALUE | public static int MIN_VALUE |
TYPE | public static Class TYPE |
decode | public static Integer decode(String) |
getInteger | public static Integer getInteger(String) public static Integer getInteger(String, int) public static Integer getInteger(String, Integer) |
parseInt | public static int parseInt(String) public static int parseInt(String, int) |
toBinaryString | public static String toBinaryString(int) |
toHexString | public static String toHexString(int) |
toOctalString | public static String toOctalString(int) |
toString | public static String toString(int) public static String toString(int, int) |
valueOf | public static Integer valueOf(String) public static Integer valueOf(String, int) |