/** * @param other * @return <code>true</code> if this node contains the <code>other</code> node */ public boolean contains(QuadTreeNodeInterface<E> other) { QuadTreeNodeInterface<E> parent = other; while (parent != this) { // si root node if (parent == parent.getParent()) { return false; } // on monte d'un niveau parent = parent.getParent(); } return true; }