forked from plusone/plusone-commons
添加方法。
parent
be20e255b9
commit
d81e68995a
|
@ -31,6 +31,14 @@ public abstract class Arrays2 {
|
|||
return values;
|
||||
}
|
||||
|
||||
public static double[] of(final double... values) {
|
||||
return values;
|
||||
}
|
||||
|
||||
public static float[] of(final float... values) {
|
||||
return values;
|
||||
}
|
||||
|
||||
private Arrays2() {
|
||||
throw new IllegalStateException("Utility class");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue