org.objectweb.carol.irmi.test
Class RMathImpl

java.lang.Object
  extended byorg.objectweb.carol.irmi.test.RMathImpl
All Implemented Interfaces:
java.rmi.Remote, RMath

public class RMathImpl
extends java.lang.Object
implements RMath

RMathImpl

Author:
Rafael H. Schloming <rhs@mit.edu>

Constructor Summary
RMathImpl()
           
 
Method Summary
 int add(byte a, byte b)
           
 int add(char a, char b)
           
 double add(double a, double b)
           
 float add(float a, float b)
           
 int add(int a, int b)
           
 long add(long a, long b)
           
 int add(short a, short b)
           
 java.lang.String add(java.lang.String a, java.lang.String b)
           
 int div(int a, int b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMathImpl

public RMathImpl()
Method Detail

add

public int add(byte a,
               byte b)
Specified by:
add in interface RMath

add

public int add(char a,
               char b)
Specified by:
add in interface RMath

add

public int add(short a,
               short b)
Specified by:
add in interface RMath

add

public int add(int a,
               int b)
Specified by:
add in interface RMath

add

public long add(long a,
                long b)
Specified by:
add in interface RMath

add

public float add(float a,
                 float b)
Specified by:
add in interface RMath

add

public double add(double a,
                  double b)
Specified by:
add in interface RMath

add

public java.lang.String add(java.lang.String a,
                            java.lang.String b)
Specified by:
add in interface RMath

div

public int div(int a,
               int b)
Specified by:
div in interface RMath