@@ -0,0 +1,310 @@
+package jvmbasicstructure;%0A%0A/**%0A * Created by chenyang on 2017/1/26.%0A */%0Apublic class OrderExample %7B%0A    int a=0;%0A    boolean flag=false;%0A    public void writer()%7B%0A        a=1;%0A        flag=true;%0A    %7D%0A%0A    public void reader()%7B%0A        if(flag)%7B%0A            int i=a+1;%0A            //.......%0A        %7D%0A    %7D%0A%7D%0A

update code