Added: setClip

This commit is contained in:
hyb1996
2017-02-23 22:40:52 +08:00
parent 8e3db7c7c3
commit 6ec0601373
17 changed files with 145 additions and 41 deletions

View File

@@ -14,26 +14,6 @@ public class ExampleUnitTest {
@Test
public void testSync() throws Exception {
new Thread(new Runnable() {
@Override
public void run() {
while (true) {
synchronized (this) {
i++;
}
}
}
}).start();
new Thread(new Runnable() {
@Override
public void run() {
while (true) {
synchronized (this) {
System.out.println(i);
}
}
}
}).start();
}