Interface Working

All Known Implementing Classes:
WorkService

public interface Working
Demo service interface.
Author:
tap
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    add(double summand, double addend)
    add two numbers
    double[]
    generateSinusoid(double amplitude, double frequency, double phase, int numPoints)
    calculate the sinusoid waveform from zero to 2pi
    get the launch time
    say hello to the person with the specified name
    void
    shutdown(int code)
    shutdown the service
    int
    sumIntegers(int[] summands)
    add an array of integers and return the sum
  • Method Details

    • add

      double add(double summand, double addend)
      add two numbers
    • sumIntegers

      int sumIntegers(int[] summands)
      add an array of integers and return the sum
    • getLaunchTime

      Date getLaunchTime()
      get the launch time
    • generateSinusoid

      double[] generateSinusoid(double amplitude, double frequency, double phase, int numPoints)
      calculate the sinusoid waveform from zero to 2pi
    • sayHelloTo

      String sayHelloTo(String name)
      say hello to the person with the specified name
    • shutdown

      void shutdown(int code)
      shutdown the service