import java.lang.reflect.Array;
@ForReferenceType
@SupressWarnings("unchecked")
public static <T> T[] newArray(final Class<T> type, final int size) {
return Array.newInstance(type);
}
public static boolean[] newBooleanArray(final int size) {
return new boolean[size];
}
Created
August 18, 2019 13:33
-
-
Save KisaragiEffective/9ea69405b48a94a8f33629d7288bd865 to your computer and use it in GitHub Desktop.
おまじない
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment