获取数组长度 @param objects object[] @return 如果数据为 null, 则返回默认长度, 如果不为 null, 则返回 array[].length
(final Object[] objects)
| 222 | * @return 如果数据为 null, 则返回默认长度, 如果不为 null, 则返回 array[].length |
| 223 | */ |
| 224 | public static int length(final Object[] objects) { |
| 225 | return length(objects, 0); |
| 226 | } |
| 227 | |
| 228 | /** |
| 229 | * 获取数组长度 |