Queue extends BaseQueue<VALUE, VALUE> { public Queue(Variable<ImmutableList<VALUE>> input, Variable<ImmutableList<VALUE>> output, Variable<Boolean> frozen) { super(input, output, frozen); } Queue(Variable<ImmutableList<VALUE>> input, Variable<ImmutableList<VALUE>> output, Variable<Boolean> frozen);   }
@Test public void testQueue() { DriverFactory<ImmutableList<Integer>> listFactory = new BasicFactory<ImmutableList<Integer>>(); DriverFactory<Boolean> boolFactory = new BasicFactory<Boolean>(); QueueExecutable<Integer> queue = QueueExecutable.getQueueByName("integers", listFactory, boolFactory); queue.append(10); queue.append(11); queue.append(12); assertEquals(Integer.valueOf(10), queue.read()); assertEquals(Integer.valueOf(10), queue.read()); queue.pop(); assertEquals(Integer.valueOf(11), queue.read()); queue.pop(); assertEquals(Integer.valueOf(12), queue.read()); }