摘要:
Spring 事件驱动模型概念 Spring 事件驱动模型就是观察者模式很经典的一个应用,我们可以通过Spring 事件驱动模型来完成代码的解耦。 三角色 Spring 事件驱动模型或者说观察者模式需要三个类角色来支撑完成。分表是: 事件——ApplicationEvent 事件监听者——Appli 阅读全文
摘要:
插入排序——Insertion Sort——O(n^2) 插入排序的核心就是把带排序元素逻辑分割成一个有序表和无序表,再逐一将无序表中的元素按规则一个个加入到有序表中的过程。 public class InsertSort { public static void main(String[] arg 阅读全文
摘要:
第六天——The Playgroup 例句 George,are you looking forward to the playgroup? 乔治,你现在是不是正期待去托儿所。 look forward to sth 期待某物 look forward to doing...期待做某事 用looki 阅读全文
摘要:
例句 hide and seek,捉迷藏 seek,寻找 find,找到了 It is George's turn to hide. It's our turn. 用 is 是因为虽然我们是2个以上的人,但是我们是一组,轮到我们的只有一轮,所以是单数。 It's your turn.轮到你们了 It 阅读全文