@Test public void testLength() { System.out.println("length"); String fifoName = ""; FifoMap instance = FifoMap.getInstance(); int expResult = 0; int result = instance.length(fifoName); assertEquals(expResult, result); }
public int length(String fifoName) { BlockingQueue<Object> fifo = getFifo(fifoName); return fifo.size(); }
FifoMap extends ConcurrentHashMap<String, BlockingQueue<Object>> { public int length(String fifoName) { BlockingQueue<Object> fifo = getFifo(fifoName); return fifo.size(); } }
FifoMap extends ConcurrentHashMap<String, BlockingQueue<Object>> { public int length(String fifoName) { BlockingQueue<Object> fifo = getFifo(fifoName); return fifo.size(); } private  FifoMap(); }
FifoMap extends ConcurrentHashMap<String, BlockingQueue<Object>> { public int length(String fifoName) { BlockingQueue<Object> fifo = getFifo(fifoName); return fifo.size(); } private  FifoMap(); static FifoMap getInstance(); Object get(String fifoName); Object pop(String fifoName, long timeout); Object pop(String fifoName); int length(String fifoName); void put(String fifoName, Object v); }
FifoMap extends ConcurrentHashMap<String, BlockingQueue<Object>> { public int length(String fifoName) { BlockingQueue<Object> fifo = getFifo(fifoName); return fifo.size(); } private  FifoMap(); static FifoMap getInstance(); Object get(String fifoName); Object pop(String fifoName, long timeout); Object pop(String fifoName); int length(String fifoName); void put(String fifoName, Object v); static final String TIMEOUT_PROP; static final String CAPACITY_PROP; }