Annotation Type Unique


  • @Target({ANNOTATION_TYPE,PARAMETER,TYPE_USE})
    @Retention(RUNTIME)
    @Documented
    @Deprecated
    @API(status=DEPRECATED,
         since="1.4.0")
    public @interface Unique
    Deprecated.
    Replace with annotation UniqueElements on container (List, Set, Stream, Iterator and array) parameter. Will be removed in version 1.5.0.
    Make a generated value to be unique withing the same try.

    Applies to any embedded types of a parameter that is annotated with ForAll.

    See Also:
    ForAll, UniqueElements