@Test public void getFistChildInEmptyPolyTreeTest() { PolyTree tree = new PolyTree(); Assert.assertNull(tree.getFirst()); }
public PolyNode getFirst() { if (!childs.isEmpty()) { return childs.get( 0 ); } else { return null; } }
PolyTree extends PolyNode { public PolyNode getFirst() { if (!childs.isEmpty()) { return childs.get( 0 ); } else { return null; } } }
PolyTree extends PolyNode { public PolyNode getFirst() { if (!childs.isEmpty()) { return childs.get( 0 ); } else { return null; } }  }
PolyTree extends PolyNode { public PolyNode getFirst() { if (!childs.isEmpty()) { return childs.get( 0 ); } else { return null; } }  void Clear(); List<PolyNode> getAllPolys(); PolyNode getFirst(); int getTotalSize(); }
PolyTree extends PolyNode { public PolyNode getFirst() { if (!childs.isEmpty()) { return childs.get( 0 ); } else { return null; } }  void Clear(); List<PolyNode> getAllPolys(); PolyNode getFirst(); int getTotalSize();  }