@Target(value={ANNOTATION_TYPE,PARAMETER,TYPE_USE})
@Retention(value=RUNTIME)
@Documented
@API(status=MAINTAINED,
since="1.4.0")
public @interface UniqueElements
@ForAll
.
Unlike the old and meanwhile removed annotation Unique
this annotation is added to the
collection/array/stream parameter and NOT to the element type.
ForAll
Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<? extends java.util.function.Function<?,java.lang.Object>> |
by |