Commit 907bc077 authored by 张永's avatar 张永

111

parent 02171662
package com.egolm.common;
public class ListUtil {
public static <V> boolean isEmpty(V[] sourceArray) {
return (sourceArray == null || sourceArray.length == 0);
}
public static <V> boolean isNotEmpty(V[] sourceArray) {
return (sourceArray != null && sourceArray.length > 0);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment