Annotation Type PureFunction


  • @Retention(RUNTIME)
    public @interface PureFunction
    Use this annotation to mark static methods as "purely functional" methods for use in StreamBase expressions. Important: Mark a static method pure only if its return value depends solely on its arguments. The return value may not depend on the value of any static variable, the current time, or anything else of the like.