chapters.mdc
Interface NumberCruncher

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
NumberCruncherServer

public interface NumberCruncher
extends java.rmi.Remote

NumberCruncher factors positive integers.


Method Summary
 int[] factor(int number)
          Factor a positive integer number and return its distinct factor's as an integer array.
 

Method Detail

factor

int[] factor(int number)
             throws java.rmi.RemoteException
Factor a positive integer number and return its distinct factor's as an integer array.

Throws:
java.rmi.RemoteException


Copyright © 2005-2011 QOS.ch. All Rights Reserved.