- 浏览: 3521 次
- 性别:
- 来自: 上海
最新评论
文章列表
public class Context { private TestState testState; public void setState(TestState state){ this.testState = state; } public void changeColor() { testState.handle(); }}
public interface TestState { void handle();}
public class TestState1 implements TestState { ...
import java.util.Map;
import java.beans.BeanInfo;
import java.beans.IntrospectionException;
import java.beans.Introspector;
import java.beans.PropertyDescriptor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.math.BigDecimal;
import java.text. ...
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class StringToDateUtil {
public static final Map<Integer, Character&g ...