All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.huanmeng.opensource.bukkit.util.MathUtil Maven / Gradle / Ivy

There is a newer version: 2.2.2
Show newest version
package me.huanmeng.opensource.bukkit.util;

import java.util.stream.IntStream;

/**
 * 2023/8/24
* Gui
* * @author huanmeng_qwq */ public final class MathUtil { /** * 获取一个范围内的随机数 * * @param min 最小值 * @param max 最大值 * @return 数组 */ public static int[] range(int min, int max) { return IntStream.range(min, max).toArray(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy