1、树结构类 public class TreeNode<T> { T val; TreeNode<T> parent; TreeNode<T> right; TreeNode<T> left; public TreeNode(){ } public TreeNode(T val){ this.va Read More
public class Tree { public static void main(String[] args) { Tree root = new Tree(50); Tree.insert(root, 30); Tree.insert(root, 60); Tree.insert(root, Read More
1、属性上添加注解: @JsonIgnore import com.fasterxml.jackson.annotation.JsonIgnore; @JsonIgnore @ApiModelProperty("属性") private Long sqlTotal; private int tota Read More