petite/src/wombat/scheme/libraries/types/TreeData.java
private int height() {
		if (Value == null) return 0;
		else return 1 + Math.max(
				(Left instanceof TreeData ? ((TreeData) Left).height() : 1),
				(Right instanceof TreeData ? ((TreeData) Right).height() : 1));
	}
/**
	 * Calculate the height of the TreeData (empty TreeData is 0, leaf is 1).
	 * @return The height of the tree.
	 */
Calculate the height of the TreeData (empty TreeData is 0, leaf is 1).
@return The height of the tree.
Calculate the height of the TreeData ( empty TreeData is 0 leaf is 1 ) . @return The height of the tree .
private int height() {
		if (Value == null) return 0;
		else return 1 + Math.max(
				(Left instanceof TreeData ? ((TreeData) Left).height() : 1),
				(Right instanceof TreeData ? ((TreeData) Right).height() : 1));
	}
private int height ( ) { if ( Value == null ) return 0 ; else return 1 + Math . max ( ( Left instanceof TreeData ? ( ( TreeData ) Left ) . height ( ) : 1 ) , ( Right instanceof TreeData ? ( ( TreeData ) Right ) . height ( ) : 1 ) ) ; }
Calculate the height of the TreeData (empty TreeData is 0, leaf is 1).
Calculate the height of the TreeData ( empty TreeData is 0 leaf is 1 ) .