Package 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

      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 java.rmi.RemoteException
        Factor a positive integer number and return its distinct factor's as an integer array.
        Throws:
        java.rmi.RemoteException