some java design pattern example,and some explanin。