CoreJava
lidf2007
这个作者很懒,什么都没留下…
展开
-
了解Java:String
final类,不能被继承 实现了Comparable接口,注意compareTo的实现public String(String original) 构造函数中if发生的情况,substring等改变了offset。class OriginalTest{ public static void main(String[] args){ String str1 = ...原创 2014-01-27 16:54:11 · 80 阅读 · 0 评论 -
了解Java:RandomAccess
package java.util/** * Marker interface used by <tt>List</tt> implementations to indicate that * they support fast (generally constant time) random access. The primary * purpose of...原创 2014-02-08 09:47:08 · 118 阅读 · 0 评论 -
了解Java:Pattern及正则使用
1.简单了解Regular Expressions字符串处理:字符匹配、查找、替换2.JDK支持相关jdk类:java.lang.String,java.util.regex.Pattern,java.util.regex.Matcher Summary of regular-expression constructsConstructMatches...原创 2014-02-09 11:15:23 · 257 阅读 · 0 评论 -
了解Java:内部类
简介:An inner class can be defined inside a class, inside a method, and even as part of an expressionThere are four types of inner classes:static inner classes (nested class) 静态内部类(嵌套...原创 2014-02-09 20:42:03 · 89 阅读 · 0 评论