Few days ago I was learning about generic trees , and I came across a code for the diameter of a generic tree as follows :
static int diameter = Integer.MIN_