摘要: 反射调方法时无论是静态/非静态,固定/可变参数,都有Object对象数组对参数进行包装。 阅读全文
posted @ 2017-05-15 23:08 xiongjiawei 阅读(7811) 评论(0) 推荐(1) 编辑
摘要: 1 package com.tn.pattern; 2 3 public class Client { 4 public static void main(String[] args) { 5 AbstractClass c1=new ConcreteClass1(); 6 c1.templateMethod(); 7 ... 阅读全文
posted @ 2017-05-15 13:40 xiongjiawei 阅读(214) 评论(0) 推荐(0) 编辑