Removed objectutil.

This commit is contained in:
s17t.net 2012-08-23 08:33:33 +02:00
parent 4a09287c45
commit 36b643d79f
1 changed files with 0 additions and 13 deletions

View File

@ -1,13 +0,0 @@
package processing.app;
public class ObjectUtil {
public static boolean isNull(Object o) {
return o == null;
}
public static <T> T defaultIfEmpty(T obj, T defaultObj) {
if (isNull(obj)) return defaultObj;
return obj;
}
}