Package chapters.mdc

Interface NumberCruncher

  • All Superinterfaces:
    Remote
    All Known Implementing Classes:
    NumberCruncherServer

    public interface NumberCruncher
    extends Remote
    NumberCruncher factors positive integers.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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 RemoteException
        Factor a positive integer number and return its distinct factor's as an integer array.
        Throws:
        RemoteException