public class IntTool extends Object
| 构造器和说明 |
|---|
IntTool() |
| 限定符和类型 | 方法和说明 |
|---|---|
static int[] |
convert(String[] array) |
static List<Integer> |
createIntegerList(int begin,
int end)
创建整数数组列表
|
static boolean |
inArray(int[] array,
int number) |
static void |
main(String[] args) |
static Integer |
parse(String s) |
static int |
parse(String s,
int defaultValue) |
static String |
toStr(int num,
int length) |
public static List<Integer> createIntegerList(int begin, int end)
begin - 从?开始(包含)end - 到?结束(包含)public static int parse(String s, int defaultValue)
public static int[] convert(String[] array)
public static boolean inArray(int[] array,
int number)
public static String toStr(int num, int length)
public static void main(String[] args)
Copyright © 2024. All rights reserved.