org.eclipse.january.dataset

## Interface UnaryOperation

- All Superinterfaces:
    IOperation
  All Known Implementing Classes:
    Operations.Negation, UnaryOperation.Stub

      public interface UnaryOperation
      extends IOperation

  Interface to represent a unary operation for implementations over different output domains
  Since:
    2.0

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `UnaryOperation.Stub` Stub class where only two methods need to be overridden: `UnaryOperation.Stub.complexOperate(double[], double, double)`, `UnaryOperation.Stub.toString(String)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `booleanOperate(long a)`
    `void` | `complexOperate(double[] out, double ra, double ia)`
    `double` | `doubleOperate(double a)`
    `long` | `longOperate(long a)`
    `String` | `toString(String a)`

- - ### Method Detail

    - #### booleanOperate

          boolean booleanOperate(long a)

      Parameters:
        `a` -
      Returns:
        op(a)

    - #### longOperate

          long longOperate(long a)

      Parameters:
        `a` -
      Returns:
        op(a)

    - #### doubleOperate

          double doubleOperate(double a)

      Parameters:
        `a` -
      Returns:
        op(a)a

    - #### complexOperate

          void complexOperate(double[] out,
                            double ra,
                            double ia)

      Parameters:
        `out` - holds op(ra, ia)
        `ra` -
        `ia` -

    - #### toString

          String toString(String a)

      Parameters:
        `a` -
      Returns:
        string to represent output

Copyright © 2014–2019 Eclipse Foundation. All rights reserved.