|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--PrimitiveObj
Utility class which demonstrates the performance penalties of using object wrappers for the Java primitive numeric types. This benchmark is relevant in the context of JavaSpaces, because primitive fields are ignored when objects are converted into tuple entries and written to a space; non-primitive fields (e.g., object\nwrappers) MUST be used instead.
| Constructor Summary | |
PrimitiveObj()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PrimitiveObj()
| Method Detail |
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||