code: public int getValue(GeometryIndex index) {
  		if (index.hasChild()) {
  			return getValue(index.getChild());
  		}
  		return index.getValue();
  	}
docs: Returns the value of the innermost child index.
  
  @param index
  The index to recursively search.
  @return The value of the deepest child.