海上生林
设计模式之状态模式 设计模式之状态模式
The State Pattern allows an object to alter its behavior when its internal state changes. The object will appear to change its class.
2020-04-30
Git Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
2020-04-28
Vector Vector
public class Vector extends AbstractList implements List
2020-04-27
设计模式之外观模式 设计模式之外观模式
The Facade Pattern provides a unified interface to a set of interfaces in subsystem. Facade defines a higher-level interface that makes the subsystem easier to use.
2020-04-24
设计模式之装饰者模式 设计模式之装饰者模式
The Decorator Pattern attaches additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.
2020-04-22
设计模式之模板方法模式 设计模式之模板方法模式
The Template Method Pattern defines the skeleton of an algorithm in a method, deferring some steps to subclasses. Template Method lets subclass redefine certain steps of an algorithm without changing the algorithm's structure.
2020-04-22
设计模式之观察者模式 设计模式之观察者模式
The Observer Pattern defines as one-to-many dependcy between objects so that when one object changes state, all if its depends are notified and updated automatically.
2020-04-20
List集合 List集合
public interface List extends Collection
2020-04-17
算法之数列求值1.1 算法之数列求值1.1
给定数列 1, 1, 1, 3, 5, 9, 17, …,从第 4 项开始,每项都是前 3 项的和。求第 20190324 项的最后 4 位数字。
2020-04-16
Map集合 Map集合
public interface Map
2020-04-13
设计模式之策略模式 设计模式之策略模式
The Strategy Pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
2020-04-12
设计模之命令模式 设计模之命令模式
The Command Pattern encapsulates a request as an object, thereby letting you parameterize other objects with different requests, qucue or log requests, and support undoable operations.
2020-04-11
9 / 9