package com.ysu.zyw.tc.components.free;


import java.util.HashMap;
import java.util.Map;

public class FreeTest {

    private static FreeTest example = new FreeTest();

    private static Map<Integer, Boolean> test =
            new HashMap<Integer, Boolean>();

    private FreeTest() {
        test.put(1, true);
    }

    public static FreeTest getInstance() {
        return example;
    }

    public static void main(String[] args) {
        FreeTest.getInstance();
    }

}

@@ -46,47 +46,134 @@
 ort 
-java.util.HashMap;%0Aimport java.util.Map
+com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.TypeReference;%0Aimport com.alibaba.fastjson.serializer.SerializerFeature
 ;%0A%0Ap
@@ -201,30 +201,29 @@
 %7B%0A%0A    p
-rivate
+ublic
  static 
 FreeTest
@@ -218,345 +218,365 @@
 tic 
-FreeTest example = new FreeTest();%0A%0A    private static Map%3CInteger, Boolean%3E test =%0A            new HashMap%3CInteger, Boolean%3E();%0A%0A    private FreeTest() %7B%0A        test.put(1, true);%0A    %7D%0A%0A    public static FreeTest getInstance() %7B%0A        return example;%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        FreeTest.getInstance(
+void main(String%5B%5D args) %7B%0A        String s = JSON.toJSONString(%22123123123%22,%0A                SerializerFeature.WriteDateUseDateFormat,%0A                SerializerFeature.DisableCircularReferenceDetect);%0A        System.out.println(%22-%22 + s + %22-%22);%0A%0A        String s1 = JSON.parseObject(s, new TypeReference%3CString%3E() %7B%0A        %7D);%0A        System.out.println(s1
 );%0A 

optimize (77)