while (keys.hasMoreElements()) { key = keys.nextElement(); result = m_Children.get(key).equals(node.m_Children.get(key)); if (!result) { break;
while (keys.hasMoreElements()) { key = keys.nextElement(); result = m_Children.get(key).equals(node.m_Children.get(key)); if (!result) { break;
/** * Compares the specified object with this collection for equality. * * @param o the object to check for equality */ @Override public boolean equals(Object o) { return m_Root.equals(((Trie) o).getRoot()); }
/** * Compares the specified object with this collection for equality. * * @param o the object to check for equality */ @Override public boolean equals(Object o) { return m_Root.equals(((Trie) o).getRoot()); }