Package org.drip.service.common
Class TreeUtil.DiameterHeightPair
java.lang.Object
org.drip.service.common.TreeUtil.DiameterHeightPair
- Enclosing class:
- TreeUtil
public static class TreeUtil.DiameterHeightPair
extends java.lang.Object
DiameterHeightPair implements Diameter Height Duo.
-
Constructor Summary
Constructors Constructor Description DiameterHeightPair(int height, int diameter)
DiameterHeightPair Constructor -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DiameterHeightPair
public DiameterHeightPair(int height, int diameter) throws java.lang.ExceptionDiameterHeightPair Constructor- Parameters:
height
- Heightdiameter
- Diameter- Throws:
java.lang.Exception
- Thrown if Inputs are Invalid
-
-
Method Details
-
height
public int height()Retrieve the Height- Returns:
- The Height
-
diameter
public int diameter()Retrieve the Diameter- Returns:
- The Diameter
-