// cron expression 自定义规则 // 参数顺序 // 秒 分 时 日 月 星期 // "0 0 * * * *" the top of every hour of every day. // "*/10 * * * * *" every ten seconds. // "0 0 8-10 * * *" 8, 9 and 10 oclock of every day. // &quo…
LinkedHashMap 是通过哈希表和双向链表来实现的,其基于双向链表来保证对哈希表迭代时的有序性。
LinkedHashMap 继承自 HashMap,从而可以直接复用 HashMap 对哈希表的操作逻辑,其只需要额外维护1套双向链表的操作逻辑即可。
public class L…