java实现golang类似的chan
java版本的CSP操作public class Chan<T> { private T message; private boolean empty = true; public synchronized T take() { while (empty) { try { wait()...