public class NumberCruncherServer extends UnicastRemoteObject implements NumberCruncher
ref
Constructor and Description |
---|
NumberCruncherServer() |
Modifier and Type | Method and Description |
---|---|
static void |
delay(int millis) |
int[] |
factor(int number)
Factor a positive integer
number and return its
distinct factor's as an integer array. |
static void |
main(String[] args) |
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
public NumberCruncherServer() throws RemoteException
RemoteException
public int[] factor(int number) throws RemoteException
NumberCruncher
number
and return its
distinct factor's as an integer array.factor
in interface NumberCruncher
RemoteException
public static void delay(int millis)
public static void main(String[] args)
Copyright © 2005–2016 QOS.ch. All rights reserved.