public static void clearAll(final Array<?>... arrays) {
        for (final Array<?> array : arrays) {
            if (array != null) {
                array.clear();
            }
        }
    }
public static void clearAll ( final Array < ? > ... arrays ) { for ( final Array < ? > array : arrays ) { if ( array != null ) { array . clear ( ) ; } } }
@param arrays will all be cleared, with an additional null-check before the clearing.