// Is structure going to be a class or an interface?  Either way,
// each structure must have a getWeight() method of type double and
// an isBalanced() method of type boolean.

public ??? Structure {
	public double getWeight() ...
	public boolean isBalanced() ...
}