Java学习曲线
JavaEE
-
Java基础视频 [241/241]
以下是某培训机构给出的Java学习曲线
Java学习曲线.png
Milestone
2016/03/11 Java编程思想
《Thinking in Java》学习记录
- 对象导论
- 一切都是对象
- 操作符
- 控制执行流程
- 初始化与清理
- 访问控制权限
- 复用类
- 多态
- 接口
- 内部类
- 持有对象
- 通过异常处理错误
- 字符串
- 类型信息
- 泛型
- 数组
- 容器深入研究
- Java I/O系统
- 枚举类型
- 注解
- 并发
- 图形化用户界面
Within a class, the order of initialization is determined by the order that the variables are defined within the class. The variable definitions may be scattered throughout and in between method definitions, but the variables are initialized before any methods can be called--even the constructor.
《Thinking in Pattern》学习记录
-
单例模式
Possibly the simplest design pattern is the singleton, which is a way to provide one and only one object of a particular type. An important aspect of Singleton is that you provide a global access point, so singletons are often a solution for what you would have used a global variable for in C. In addition, a singleton often has the characteristics of a registry or lookup service – it’s a place you go to find references to other objects.
keywords:饿汉式、懒汉式、枚举式、线程安全 -
代理模式
-
状态模式
-
迭代器模式
You’ve also already seen another pattern that appears in Design Patterns: the iterator (Java 1.0 and 1.1 capriciously calls it the Enumeration; Java 2 containers use “iterator”). This hides the particular implementation of the container as you’re stepping through and selecting the elements one by one. The iterator allows you to write generic code that performs an operation on all of the elements in a sequence without regard to the way that sequence is built. Thus your generic code can be used with any container that can produce an iterator. -
策略模式
-
Template method
-
工厂模式
keywords:polymorphic factories,abstract factories
补充阅读
Design Patterns in Java Tutorial