Annotation Type TimeComplexity


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

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

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    May contain some description or comment.
  • Element Details

    • value

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

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