「java」synchronized staticメソッドの書き方

Javaコード:
public synchronized static void init() throws Exception {
TreeMap<String, String> map;
DemoList();
}
public synchronized static void DemoList() throws Exception {

//some code

}

Java

Posted by arkgame