ch.elca.el4j.tests.remoting.service
Interface CalculatingMachine


public interface CalculatingMachine

This interfaces sole purpose is to be extended by Calculator to test inheritance in exported remote services.

Author:
Daniel Thomas (DTH)
File-location:
CalculatingMachine
Last check-in date:
2010-01-08 13:32:17 +0100 (Fr, 08. Jan 2010) by jonasha for revision 4083

Method Summary
 double getAreaOfCircle(double r)
          This method takes the radius of a circle and computes its Area.
 float getPI()
          This method returns an approximation of PI.
 void printPIToScreen()
          This method prints PI to the screen.
 

Method Detail

getPI

float getPI()
This method returns an approximation of PI.

Returns:
an approximation of PI.

getAreaOfCircle

double getAreaOfCircle(double r)
This method takes the radius of a circle and computes its Area.

Parameters:
r - Is the radius of the circle.
Returns:
Returns the area of the circle.

printPIToScreen

void printPIToScreen()
This method prints PI to the screen.



Copyright © 2005-2011 ELCA. All Rights Reserved.