From d81e68995ae64f6783701ed3e252f1ce7591a66a Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Mon, 13 Mar 2023 14:25:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=B9=E6=B3=95=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/xyz/zhouxy/plusone/commons/util/Arrays2.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/xyz/zhouxy/plusone/commons/util/Arrays2.java b/src/main/java/xyz/zhouxy/plusone/commons/util/Arrays2.java index 829dbb2..1780055 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/util/Arrays2.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/util/Arrays2.java @@ -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"); }