diff --git a/src/main/java/org/apache/commons/lang3/ObjectUtils.java b/src/main/java/org/apache/commons/lang3/ObjectUtils.java index 71ce839a1..478e633e8 100644 --- a/src/main/java/org/apache/commons/lang3/ObjectUtils.java +++ b/src/main/java/org/apache/commons/lang3/ObjectUtils.java @@ -424,6 +424,7 @@ public class ObjectUtils { * @return T at middle position * @throws NullPointerException if items is {@code null} * @throws IllegalArgumentException if items is empty or contains {@code null} values + * @since 3.0.1 */ public static > T median(T... items) { Validate.notEmpty(items); @@ -444,6 +445,7 @@ public class ObjectUtils { * @return T at middle position * @throws NullPointerException if items or comparator is {@code null} * @throws IllegalArgumentException if items is empty or contains {@code null} values + * @since 3.0.1 */ public static T median(Comparator comparator, T... items) { Validate.notEmpty(items, "null/empty items"); @@ -464,6 +466,7 @@ public class ObjectUtils { * @param * @param items to check * @return most populous T, {@code null} if non-unique or no items supplied + * @since 3.0.1 */ public static T mode(T... items) { if (ArrayUtils.isNotEmpty(items)) {