spec.benchmarks.serial.data
Class ProxiedClass

java.lang.Object
  extended by spec.benchmarks.serial.data.ProxiedClass
All Implemented Interfaces:
java.io.Serializable, InterfaceForProxy

public class ProxiedClass
extends java.lang.Object
implements InterfaceForProxy, java.io.Serializable

$Id: ProxiedClass.java,v 1.2 2005/09/02 21:12:10 csuconic Exp $

Author:
Clebert Suconic
See Also:
Serialized Form

Constructor Summary
ProxiedClass(int value)
           
 
Method Summary
static InterfaceForProxy createMyProxy(int a, int b)
           
 int doSomething()
          It always return value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxiedClass

public ProxiedClass(int value)
Method Detail

doSomething

public int doSomething()
It always return value. TestHandler will multiply this by a factor and we will use that value to test if the value is being used or not.

Specified by:
doSomething in interface InterfaceForProxy

createMyProxy

public static InterfaceForProxy createMyProxy(int a,
                                              int b)