if (index < 0 || index >= children.length)
if (index < 0 || index >= numChildren)
    public Element getElement(int index)    {      if (index < 0 || index >= children.length)	return null;      return children[index];    }