Annotation Type MustImplementComparable


@Retention(CLASS) @Target({TYPE,FIELD}) @Documented public @interface MustImplementComparable
Just to indicate that a class is required to implement Comparable. This is e.g. important if an interface or class is used as the key in a TreeMap.
Author:
Philip Helger
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      String value
      Default:
      ""