@Test public void testMessageTree() { tree = new MessageTreeImpl<>(); testSimpleTree(); tree.clear(); testSimpleTree(); }
@Override public synchronized void clear() { roots.clear(); nodeMap.clear(); }
MessageTreeImpl implements MessageTree<T> { @Override public synchronized void clear() { roots.clear(); nodeMap.clear(); } }
MessageTreeImpl implements MessageTree<T> { @Override public synchronized void clear() { roots.clear(); nodeMap.clear(); }  }
MessageTreeImpl implements MessageTree<T> { @Override public synchronized void clear() { roots.clear(); nodeMap.clear(); }  @Override synchronized void clear(); @Override synchronized void add(Collection<T> nodes); @Override synchronized void add(T node); @Override synchronized void setComparator(Comparator<T> comparator); @Override synchronized Collection<T> depthFirstOrder(); @Override boolean contains(MessageId m); }
MessageTreeImpl implements MessageTree<T> { @Override public synchronized void clear() { roots.clear(); nodeMap.clear(); }  @Override synchronized void clear(); @Override synchronized void add(Collection<T> nodes); @Override synchronized void add(T node); @Override synchronized void setComparator(Comparator<T> comparator); @Override synchronized Collection<T> depthFirstOrder(); @Override boolean contains(MessageId m);  }