test_class.file: domain/src/test/java/org/m4m/domain/CommandQueueTest.java
test_class.identifier: CommandQueueTest
test_class.superclass: extends TestBase
test_case.body: @Test
      public void firstCommandIsNull_ForEmptyQueue() {
          CommandQueue commandQueue = new CommandQueue();
  
          assertNull(commandQueue.first());
      }
test_case.class_method_signature: CommandQueueTest.firstCommandIsNull_ForEmptyQueue()
test_case.full_signature: @Test public void firstCommandIsNull_ForEmptyQueue()
test_case.identifier: firstCommandIsNull_ForEmptyQueue
test_case.invocations: assertNull first
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void firstCommandIsNull_ForEmptyQueue()
focal_class.declarator: queue = new LinkedList<Pair<Command, Integer>>()
focal_class.modifier: protected
focal_class.original_string: protected LinkedList<Pair<Command, Integer>> queue = new LinkedList<Pair<Command, Integer>>();
focal_class.type: LinkedList<Pair<Command, Integer>>
focal_class.var_name: queue
focal_class.file: domain/src/main/java/org/m4m/domain/CommandQueue.java
focal_class.identifier: CommandQueue
focal_class.interfaces: implements Iterable<Pair<Command, Integer>>
focal_class.class_method_signature: CommandQueue.CommandQueue()
focal_class.full_signature: public  CommandQueue()
focal_class.identifier: CommandQueue
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  CommandQueue()
focal_class.class_method_signature: CommandQueue.CommandQueue(CommandQueue commandQueue)
focal_class.full_signature: public  CommandQueue(CommandQueue commandQueue)
focal_class.identifier: CommandQueue
focal_class.modifiers: public
focal_class.parameters: (CommandQueue commandQueue)
focal_class.signature:  CommandQueue(CommandQueue commandQueue)
focal_class.class_method_signature: CommandQueue.queue(Command command, Integer trackId)
focal_class.full_signature: public void queue(Command command, Integer trackId)
focal_class.identifier: queue
focal_class.modifiers: public
focal_class.parameters: (Command command, Integer trackId)
focal_class.return: void
focal_class.signature: void queue(Command command, Integer trackId)
focal_class.class_method_signature: CommandQueue.dequeue()
focal_class.full_signature: public Pair<Command, Integer> dequeue()
focal_class.identifier: dequeue
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Pair<Command, Integer>
focal_class.signature: Pair<Command, Integer> dequeue()
focal_class.class_method_signature: CommandQueue.iterator()
focal_class.full_signature: @Override public Iterator<Pair<Command, Integer>> iterator()
focal_class.identifier: iterator
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Iterator<Pair<Command, Integer>>
focal_class.signature: Iterator<Pair<Command, Integer>> iterator()
focal_class.class_method_signature: CommandQueue.first()
focal_class.full_signature: public Pair<Command, Integer> first()
focal_class.identifier: first
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Pair<Command, Integer>
focal_class.signature: Pair<Command, Integer> first()
focal_class.class_method_signature: CommandQueue.last()
focal_class.full_signature: public Pair<Command, Integer> last()
focal_class.identifier: last
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Pair<Command, Integer>
focal_class.signature: Pair<Command, Integer> last()
focal_class.class_method_signature: CommandQueue.clear()
focal_class.full_signature: public void clear()
focal_class.identifier: clear
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: CommandQueue.size()
focal_class.full_signature: public int size()
focal_class.identifier: size
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int size()
focal_method.body: public Pair<Command, Integer> first() {
          if (size() == 0) {
              return null;
          }
  
          return queue.peek();
      }
focal_method.class_method_signature: CommandQueue.first()
focal_method.full_signature: public Pair<Command, Integer> first()
focal_method.identifier: first
focal_method.invocations: size peek
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: Pair<Command, Integer>
focal_method.signature: Pair<Command, Integer> first()