上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 109 下一页
摘要: public static void main(String[] args) { // 1、字符串 String str = "*Constructs a new <tt>HashMap</tt> with the same mappings as the * specified <tt>Map</ 阅读全文
posted @ 2020-07-31 22:33 陈彦斌 阅读(469) 评论(0) 推荐(0)
摘要: 导读 Mysql数据类型,点我直达 创建表 语法: create table 表名( 字段名1 字段类型2 约束条件1 说明1, 字段名2 字段类型2 约束条件2 说明2 ) 约束条件: comment 说明解释 not null 不为空 default 默认值 unsigned 无符号(即正数) 阅读全文
posted @ 2020-07-31 12:03 陈彦斌 阅读(577) 评论(0) 推荐(0)
摘要: Objects工具类 jdk 1.7引进的工具类,都是静态调用的方法,jdk 1.8新增了部分方法 重点方法 equals 用于字符串和包装对象的比较,先比较内存地址,再比较值 deepEquals 数组的比较,先比较内存地址,再比较值,如String、char、byte、int数组,或者包装类型I 阅读全文
posted @ 2020-07-30 23:28 陈彦斌 阅读(437) 评论(0) 推荐(0)
摘要: 什么是Comparable public interface Comparable<T> { /** * Compares this object with the specified object for order. Returns a * negative integer, zero, or 阅读全文
posted @ 2020-07-30 23:05 陈彦斌 阅读(303) 评论(0) 推荐(0)
摘要: Collections工具类 Java里关于聚合的工具类,包含有各种有关集合操作的静态多态方法,不能实例化(把构造函数私有化) public class Collections { // Suppresses default constructor, ensuring non-instantiabi 阅读全文
posted @ 2020-07-30 00:10 陈彦斌 阅读(703) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 109 下一页