- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 包装类 枚举类 API
java.lang.Integer • int intValue( ) 以 int 的形式返回 Integer 对象的值(在 Number 类中覆盖了 intValue方法)。 • static String toString(int i ) 以一个新 String 对象的形式返回给定数值 i 的十进制表示。 參 static String toString(int i ,int radix ) ...
2019-04-20 09:27:32 215
原创 ArrayList API
•ArrayList ( ) 构造一个空数组列表。 •ArrayList ( int initialCapacity) 用指定容量构造一个空数组列表。 参数:initalCapacity 数组列表的最初容量 •boolean add( E obj ) 在数组列表的尾端添加一个元素。 永远返回 true。 参数:obj 添加的元素 •int size( ) 返回存储在数组列表中的当前元素数量。(这个...
2019-04-19 16:54:49 426
原创 Object Objects Class API
java.util.Arrays • static Boolean equals(type[]a , type[] b) 如果两个数组长度相同, 并且在对应的位置上数据元素也均相同, 将返回 true。数组的元素类型可以是 Object、 int、 long、 short、 char、 byte、 boolean、 float 或 double。 •static int hashCode(type...
2019-04-19 15:16:51 163
原创 LocalDate API
• static LocalTime now( ) 构造一个表示当前日期的对象。 • static LocalTime of(int year, int month , int day ) 构造一个表示给定日期的对象。 •int getYear( ) •int getMonthValue( ) •int getDayOfMonth( ) 得到当前日期的年、 月和曰。 •DayOfWeek getD...
2019-04-16 11:46:47 1770
原创 Arrays & Comparator API
•static String toString(type[] a) 返回包含 a 中数据元素的字符串, 这些数据元素被放在括号内, 并用逗号分隔。 参数: a 类型为 int、long、short、 char、 byte、boolean、float 或 double 的数组。 • static type copyOf(type[]a, int length) • static type copyO...
2019-04-15 21:58:13 170
原创 Biglnteger BigDecimal API
Biglnteger • Biglnteger add(Biglnteger other) • Biglnteger subtract(Biglnteger other) • Biglnteger multipiy(Biginteger other) • Biglnteger divide(Biglnteger other) • Biglnteger mod(Biglnteger other) 返...
2019-04-15 17:52:39 183
原创 String StringBuilder API
• char charAt (int index) 返回给定位置的代码单元。除非对底层的代码单元感兴趣, 否则不需要调用这个方法。 • int codePointAt(int Index) 返回从给定位置开始的码点。 • int offsetByCodePoints(int startlndex, int cpCount) 返回从 startlndex 代码点开始,位移 cpCount 后的码点索...
2019-04-14 11:01:29 338
原创 数组四种拷贝方法性能分析
for、clone、System.arraycopy、Arrays.copyOf public class Test { public static final int size = 1000000; /** * SystemArrayCopy */ public static void copyBySystemArrayCopy(String[] s...
2019-04-11 13:22:33 815
头像的裁剪修改(可使用摄像头)与上传服务器(SSM实现)
2017-08-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人