Class PrimitiveObj

java.lang.Object
  |
  +--PrimitiveObj

public final class PrimitiveObj
extends java.lang.Object

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.

Author:
Michael S. Noble (mnoble@cfa.harvard.edu) Copyright (c) 2000 This code may only be used under the terms of GNU General Public License.

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

PrimitiveObj

public PrimitiveObj()
Method Detail

main

public static void main(java.lang.String[] args)