10 2016 档案
摘要:Map的内部结构Entry HashMap和HashTable的区别 LinkedHashMap的特征 Properties 的特征 SortedMap接口和TreeMap类的特征 WeekHashMap IdentifyHashMap与HashMap的区别 EnumMap的特征 各种Map实现类的
阅读全文
摘要:Queue接口 PriorityQueue类 Deque与ArrayDeque LinkedList 各种线性表性能分析 Queue接口 Queue用来模拟队列这种数据结构,遵循先进先出原则(FIFO)。Queue接口中定义了以下通用方法,remove(), element():获取队头元素,rem
阅读全文
摘要:List接口和ListIterator接口介绍 List.ArrayList和List.Vector 固定长度的List List接口和ListIterator接口介绍 List是一种元素有序,可重复的集合。默认是按元素插入顺序排序。可以像数组一样按照索引来访问元素。因此List接口提供了除Coll
阅读全文
摘要:Set集合的基本特征是不记录添加顺序,不允许元素重复(想想是为什么)。最常用的实现类是HashSet. 本文将要介绍以下内容 HashSet类 LinkedHashSet的特征 TreeSet的特征 EnumSet的特征 HashSet类 HashSet类直接实现了Set接口, 其底层其实是包装了一
阅读全文
摘要:JAVA的集合体系,主要由Collection接口,Map接口,Iterator接口和操作集合的工具类Collections组成。其中的Iterator只是一个迭代器,真正的容器则派生自Collection和Map。 Collection是一个根接口,它没有直接的实现类,但是它有三个字接口分别是Se
阅读全文
摘要:The default class viewer doesn't decompile the class file so you cannot open and check the source code, you may down third part App to do that while i
阅读全文
摘要:IO is a problem difficult to handle in various of systems because it always becomes a bottleneck in data transfer. in this section, I will introduce s
阅读全文
摘要:I got an issue when copying some line/word (actually just select the context ) in the Linux terminal via SecureCRT, error box popped up with message "
阅读全文