MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / getWithDefault

Method getWithDefault

src/main/java/gregapi/util/UT.java:1375–1377  ·  view source on GitHub ↗
(E aObject, E aDefault)

Source from the content-addressed store, hash-verified

1373 }
1374
1375 public static <E> E getWithDefault(E aObject, E aDefault) {
1376 return aObject != null ? aObject : aDefault;
1377 }
1378
1379 private static final DateFormat sDateFormat = DateFormat.getInstance();
1380 public static String dateAndTime() {

Callers 1

getMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected