📅  最后修改于: 2022-03-11 14:52:49.362000             🧑  作者: Mango
代码示例1
public Position root() throws RuntimeException {
if (root == null){
throw new RuntimeException("The tree is empty");
}
return root;
}