1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-17 06:52:18 +01:00

Removed objectutil.

This commit is contained in:
s17t.net 2012-08-23 08:33:33 +02:00
parent 4a09287c45
commit 36b643d79f

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;
}
}