if (nodes[i] == id)
if (nodes[i].equals(id))
        boolean contains(NodeId id) {            for (int i = 0; i < position; i++)                if (nodes[i] == id)                    return true;            return false;        }