Interface Function

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  Function.ArgDrivenFunction<SOURCE,​RETTYPE>
      Deprecated.
      Abstract class that provides rudimentary abstraction to quickly implement a function that classifies first arg as special input and rest as regular input.
      static class  Function.ArgDrivenListFunction<S>
      Deprecated.
      Extends ArgDrivenConverter to provide rudimentary abstraction to quickly implement a function that works on an input list|array i.e.
      static class  Function.ArgDrivenSingleFunction<S,​R>
      Deprecated.
      Extends ArgDrivenConverter to provide rudimentary abstraction to quickly implement a function that works on a single input i.e.
      static class  Function.BaseFunction<T>
      Deprecated.
      Abstract class that processes var-args and calls two abstract methods If its single list arg, or many args, calls applyList() else calls applySingle()
      static class  Function.ListFunction
      Deprecated.
      Abstract class that provides rudimentary abstraction to quickly implement a function that works on an List of input i.e.
      static class  Function.SingleFunction<T>
      Deprecated.
      Abstract class that provides rudimentary abstraction to quickly implement a function that works on an single value input i.e.
      static class  Function.SquashFunction<T>
      Deprecated.
      squashNull is a special kind of null processing,the input is always a list or map as a singleton
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Function isNull
      Deprecated.
      Returns the first argument if it is null spec - "key": ["=inNull", "otherValue" ] input - "key": null output - "key": null input - "key": "value" output - "key": "otherValue"
      static Function isPresent
      Deprecated.
      Returns the first argument, null or otherwise spec - "key": [ "=isPresent", "otherValue" ] input - "key": null output - "key": null input - "key": "value" output - "key": "value" input - key is missing output - "key": "otherValue"
      static Function noop
      Deprecated.
      Does nothing spec - "key": "=noop" will cause the key to remain unchanged
      static Function notNull
      Deprecated.
      Returns the first argument if in not null spec - "key": ["=notNull", "otherValue" ] input - "key": null output - "key": "otherValue" input - "key": "value" output - "key": "value"
    • Field Detail

      • noop

        static final Function noop
        Deprecated.
        Does nothing spec - "key": "=noop" will cause the key to remain unchanged
      • isPresent

        static final Function isPresent
        Deprecated.
        Returns the first argument, null or otherwise spec - "key": [ "=isPresent", "otherValue" ] input - "key": null output - "key": null input - "key": "value" output - "key": "value" input - key is missing output - "key": "otherValue"
      • notNull

        static final Function notNull
        Deprecated.
        Returns the first argument if in not null spec - "key": ["=notNull", "otherValue" ] input - "key": null output - "key": "otherValue" input - "key": "value" output - "key": "value"
      • isNull

        static final Function isNull
        Deprecated.
        Returns the first argument if it is null spec - "key": ["=inNull", "otherValue" ] input - "key": null output - "key": null input - "key": "value" output - "key": "otherValue"
    • Method Detail

      • apply

        Optional<java.lang.Object> apply​(java.lang.Object... args)
        Deprecated.