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, unexportObjectgetClientHost, getLog, setLogpublic NumberCruncherServer()
throws RemoteException
RemoteExceptionpublic int[] factor(int number)
throws RemoteException
NumberCrunchernumber and return its
distinct factor's as an integer array.factor in interface NumberCruncherRemoteExceptionpublic static void delay(int millis)
public static void main(String[] args)
Copyright © 2005–2016 QOS.ch. All rights reserved.