添加方法。

feature/net-util
ZhouXY108 2023-03-13 14:25:28 +08:00
parent be20e255b9
commit d81e68995a
1 changed files with 8 additions and 0 deletions

View File

@ -31,6 +31,14 @@ public abstract class Arrays2 {
return values; return values;
} }
public static double[] of(final double... values) {
return values;
}
public static float[] of(final float... values) {
return values;
}
private Arrays2() { private Arrays2() {
throw new IllegalStateException("Utility class"); throw new IllegalStateException("Utility class");
} }