Indicates whether the given object is not null and is an array. @param o the given object. @return true if the given object is not null and is an array, otherwise false.
(Object o)
| 37 | * @return {@code true} if the given object is not {@code null} and is an array, otherwise {@code false}. |
| 38 | */ |
| 39 | public static boolean isArray(Object o) { |
| 40 | return o != null && o.getClass().isArray(); |
| 41 | } |
| 42 | |
| 43 | /** |
| 44 | * Indicates whether the given array is {@code null} or empty. |
no outgoing calls