@Test public void getSize() { DoublyLinkedList linkedList = new DoublyLinkedList(); assert (linkedList.getSize() == 0); linkedList.insert(new Monom(5, 100)); assert (linkedList.getSize() == 1); assert (linkedList.getSize() != 2); }
public int getSize() { return size; }
DoublyLinkedList { public int getSize() { return size; } }
DoublyLinkedList { public int getSize() { return size; } DoublyLinkedList(); }
DoublyLinkedList { public int getSize() { return size; } DoublyLinkedList(); boolean isEmpty(); int getSize(); synchronized void insert(Monom val, boolean deleteImmediately); void display(); }
DoublyLinkedList { public int getSize() { return size; } DoublyLinkedList(); boolean isEmpty(); int getSize(); synchronized void insert(Monom val, boolean deleteImmediately); void display();  }