Annotation Type MemoryComplexity


  • @Documented
    @Target({METHOD,CONSTRUCTOR})
    @Retention(CLASS)
    @Inherited
    public @interface MemoryComplexity
    Allows to mark executable entity by its memory complexity description.
    Since:
    1.1.2
    See Also:
    Complexity, Weight
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Complexity value
      Contains memory complexity for marked entity.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String comment
      May contain some description or comment.
    • Element Detail

      • value

        Complexity value
        Contains memory complexity for marked entity.
        Returns:
        time complexity value for marked entity.
        Since:
        1.1.2
      • comment

        java.lang.String comment
        May contain some description or comment.
        Returns:
        comment or note as string
        Since:
        1.1.2
        Default:
        ""