public int getIndexOfChild(Object parent, Object child) {
		TreeElement[] childrens = getChildrens((TreeElement) parent);
		int i = Arrays.binarySearch(childrens, child);
		if (i >= 0)
			return i;
		throw new NoSuchElementException(((TreeElement) parent).getFullName()
				+ "." + child);
	}