个人简介

Echo Blog


江湖无名 安心练剑
  • Github DNS 访问加速
    如何上传本地代码到 github 1、建立git仓库 git init 2、添加代码到本地仓库 git add . git commit -m "[Init] init git" 3、github 创建自己的项目 不赘述 4、将本地代码和远程仓库关联 git remote add origin https://github.com/houbb/XXX 5、更新代码 ...
    2019-02-25 02:58:55 | Tool
  • 数据结构 06 TreeSet + NavigableMap 源码分析
    TreeSet 类定义 基于 TreeMap 的实现。 /** * A {@link NavigableSet} implementation based on a {@link TreeMap}. * The elements are ordered using their {@linkplain Comparable natural * ordering}, or by a ...
    2019-02-19 06:50:42 | Data-Struct
  • 数据结构 05 HashSet 源码分析
    HashSet 类定义 /** * This class implements the {@code Set} interface, backed by a hash table * (actually a {@code HashMap} instance). It makes no guarantees as to the * iteration order of the se...
    2019-02-19 06:50:42 | Data-Struct
  • 数据结构 04 Stack 源码分析
    Stack 类定义 /** * The <code>Stack</code> class represents a last-in-first-out * (LIFO) stack of objects. It extends class <tt>Vector</tt> with five * operations that allo...
    2019-02-19 06:50:42 | Data-Struct
  • 数据结构 03 LinkedList 源码分析
    LinkedList 类定义 public class LinkedList<E> extends AbstractSequentialList<E> implements List<E>, Deque<E>, Cloneable, java.io.Serializable 和 ArrayList 的接口实现还是有区别的...
    2019-02-19 06:50:42 | Data-Struct
  • 数据结构 02 ArrayList 源码分析
    ArrayList 以前学习数据结构的时候,自己通过实现过 ArrayList。 但是 jdk 中的源码没有仔细研读过。 本篇查缺补漏,好好学习一下。 jdk 版本为 11 类定义 public class ArrayList<E> extends AbstractList<E> implements List<E>, ...
    2019-02-19 06:50:42 | Data-Struct
  • 数据结构 01 IdentityHashMap 详解
    IdentityHashMap 简介 IdentityHashMap 类利用哈希表实现 Map 接口,比较键(和值)时使用引用相等性代替对象相等性。 换句话说,在 IdentityHashMap 中,当且仅当 (k1==k2) 时,才认为两个键 k1 和 k2 相等(在正常 Map 实现(如 HashMap)中, 当且仅当满足下列条件时才认为两个键 k1 和 k2 相等:(k1==n...
    2019-02-19 06:50:42 | Data-Struct
  • 数据结构 00 概览 数据结构专题汇总
    什么才是值得学习的 程序 = 数据结构+算法 索引数据结构(1)概览篇 从零开始的数据结构与算法-00-概览 开源代码 The data struct for java.(java 数据结构实现) 列表 数据结构之背包,栈,队列,链表 CopyOnWriteList 跳跃链表 skiplist ArrayList LinkedList 栈 Stack S...
    2019-02-19 06:50:42 | Data-Struct