태그 : closure 요약보기전체보기목록닫기

1

about closure on JAVA

http://geekslife.egloos.com/page/4mylock.lock();try { doSomething();} finally { mylock.unlock();}다음과 같이 바뀔 수 있다:Locks.withlock(myLock) { doSomething();}
1