This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public interface EnumDescribable { | |
| String getDescription(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Response response = subscribe(response -> response.get(11) == myNsuTerminal).get(30, TimeUnit.SECONDS) | |
| public class ResponseQueue<E> { | |
| private final ArrayBlockingQueue<E> queue; | |
| private boolean done; | |
| ResponseQueue() { | |
| this.queue = new ArrayBlockingQueue<>(1); |