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

Method getWithoutNulls

src/main/java/gregapi/util/UT.java:1354–1359  ·  view source on GitHub ↗
(E... aArray)

Source from the content-addressed store, hash-verified

1352 }
1353
1354 @SafeVarargs
1355 public static <E> ArrayList<E> getWithoutNulls(E... aArray) {
1356 if (aArray == null) return new ArrayListNoNulls<>();
1357 ArrayList<E> rList = new ArrayListNoNulls<>(Arrays.asList(aArray));
1358 return rList;
1359 }
1360
1361 @SafeVarargs
1362 public static <E> ArrayList<E> getWithoutTrailingNulls(E... aArray) {

Callers 3

RecipeMethod · 0.80
onModServerStopping2Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected