摘要: 1. 全局配置文件 <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "https://mybatis.org/dtd/mybatis 阅读全文
posted @ 2023-05-24 17:31 CyrusHuang 阅读(104) 评论(0) 推荐(0)
摘要: General 命令 作用 使用 描述 keys * 模糊搜索 keys qwe* 搜索 qwe 打头的 exists key 判断 keys 是否存在 exists mykey mykey 是否存在 type key 查看 key 的类型 type mykey del key 删除 key del 阅读全文
posted @ 2023-05-24 17:30 CyrusHuang 阅读(34) 评论(0) 推荐(0)
摘要: 123 阅读全文
posted @ 2023-05-24 17:27 CyrusHuang 阅读(18) 评论(0) 推荐(0)
摘要: 123 阅读全文
posted @ 2023-05-24 17:26 CyrusHuang 阅读(21) 评论(0) 推荐(0)
摘要: 123 阅读全文
posted @ 2023-05-24 17:26 CyrusHuang 阅读(13) 评论(0) 推荐(0)
摘要: HashSet 类继承 public class HashSet<E> extends AbstractSet<E> implements Set<E>, Cloneable, java.io.Serializable {} 和 ArrayList 和 LinkedList 一样实现了 Clonea 阅读全文
posted @ 2023-05-24 17:07 CyrusHuang 阅读(216) 评论(0) 推荐(0)
摘要: 类继承 public class LinkedList<E> extends AbstractSequentialList<E> implements List<E>, Deque<E>, Cloneable, java.io.Serializable { ... } 同 ArrayList 一样实 阅读全文
posted @ 2023-05-24 17:06 CyrusHuang 阅读(28) 评论(0) 推荐(0)
摘要: HashMAP 类继承 public class HashMap<K,V> extends AbstractMap<K,V> implements Map<K,V>, Cloneable, Serializable { ... } 同 ArrayList 和 LinkedList 一样也实现了 Se 阅读全文
posted @ 2023-05-24 17:06 CyrusHuang 阅读(42) 评论(0) 推荐(0)
摘要: 类继承 public class ArrayList<E> extends AbstractList<E> implements List<E>, RandomAccess, Cloneable, java.io.Serializable { ... } Serializable:支持序列化(标记作 阅读全文
posted @ 2023-05-24 17:04 CyrusHuang 阅读(32) 评论(0) 推荐(0)
摘要: ConcurrentHashMap jdk 1.7 数据结构 ConcurrentHashMap └── segments: Segment[16] // 外层数组 │ ├── Segment[0] │ ├── table: HashEntry[2] // 内层数组 │ │ ├── [0] → Ha 阅读全文
posted @ 2023-05-24 16:57 CyrusHuang 阅读(33) 评论(0) 推荐(0)