- package com.company.section2;
- /**
- * @author cbf4Life cbf4life@126.com
- * I'm glad to share my knowledge with you all.
- */
- public class Client {
- public static void main(String[] args) {
- //初始化对象池
- for(int i=0;i<4;i++){
- String subject = "科目" + i;
- //初始化地址
- for(int j=0;j<30;j++){
- String key = subject + "考试地点"+j;
- SignInfoFactory.getSignInfo(key);
- }
- }
- SignInfo signInfo = SignInfoFactory.getSignInfo("科目1考试地点1");
- }
- }