随笔分类 -  java

摘要:1.基本数据类型与包装类 2.接口 接口定义: 只包含全局常量和抽象方法 全局常量:public static final int MAX=2; 抽象方法:abstract 阅读全文
posted @ 2017-11-27 23:05 zhangyugeng 阅读(151) 评论(0) 推荐(0)
摘要:alt+shift+↑ 移动代码 ctrl+f 寻找字符 ctrl+d 删除一行 alt+shift+r 批量改名 阅读全文
posted @ 2017-11-20 19:53 zhangyugeng 阅读(140) 评论(0) 推荐(0)
摘要:修饰变量时: 变成常量,不可变,只能初始化一次。 修饰方法时: 该方法不能被重写。 修饰类时: 该类不能被继承。 static: 修饰变量时:静态变量,或类变量。从属于类的变量。 阅读全文
posted @ 2017-11-17 15:59 zhangyugeng 阅读(88) 评论(0) 推荐(0)
摘要:A compiled representation of a regular expression. A regular expression, specified as a string, must first be compiled into an instance of this class. 阅读全文
posted @ 2017-11-12 19:16 zhangyugeng 阅读(308) 评论(0) 推荐(0)
摘要:[ ] 匹配一个范围的字符 example:[0-9] + 匹配一个或多个 阅读全文
posted @ 2017-11-11 15:45 zhangyugeng 阅读(4359) 评论(0) 推荐(0)
摘要:A simple text scanner which can parse primitive types and strings using regular expressions. A Scanner breaks its input into tokens using a delimiter 阅读全文
posted @ 2017-11-11 13:02 zhangyugeng 阅读(153) 评论(0) 推荐(0)
摘要:The Vector class implements a growable array of objects. Like an array, it contains components that can be accessed using an integer index. However, t 阅读全文
posted @ 2017-11-09 22:55 zhangyugeng 阅读(182) 评论(0) 推荐(0)
摘要:Defines a factory API that enables applications to configure and obtain a SAX based parser to parse XML documents. 定义一个工厂api以使应用去配置和获得一个SAX基于解析器去解析XML 阅读全文
posted @ 2017-11-09 01:03 zhangyugeng 阅读(257) 评论(0) 推荐(0)