Home | History | Annotate | Download | only in tree

Lines Matching refs:getKey

104                             if (it.next().getKey().equals(node.getKey())) {
137 parent.setKey(parent.getKey() + child.getKey());
182 if (node.getKey().equals("") == true || numberOfMatchingCharacters == 0 || (numberOfMatchingCharacters < key.length() && numberOfMatchingCharacters >= node.getKey().length())) {
186 if (child.getKey().startsWith(newText.charAt(0) + "")) {
204 else if (numberOfMatchingCharacters == key.length() && numberOfMatchingCharacters == node.getKey().length()) {
214 else if (numberOfMatchingCharacters > 0 && numberOfMatchingCharacters < node.getKey().length()) {
216 n1.setKey(node.getKey().substring(numberOfMatchingCharacters, node.getKey().length()));
241 n.setKey(node.getKey().substring(numberOfMatchingCharacters, node.getKey().length()));
293 if (numberOfMatchingCharacters == key.length() && numberOfMatchingCharacters <= node.getKey().length()) {
295 } else if (node.getKey().equals("") == true
296 || (numberOfMatchingCharacters < key.length() && numberOfMatchingCharacters >= node.getKey().length())) {
299 if (child.getKey().startsWith(newText.charAt(0) + "")) {
351 if (numberOfMatchingCharacters == prefix.length() && numberOfMatchingCharacters == node.getKey().length()) {
353 } else if (node.getKey().equals("") == true // either we are at the
355 || (numberOfMatchingCharacters < prefix.length() && numberOfMatchingCharacters >= node.getKey().length())) { // OR we need to
360 if (child.getKey().startsWith(newText.charAt(0) + "")) {
401 f.format("%s[%s]*%n", node.getKey(), node.getValue());
403 f.format("%s%n", node.getKey());
438 int nodelen = node.getKey().length();
441 if (key.charAt(i) != node.getKey().charAt(i)) {
448 return base + node.getKey();
454 if (child.getKey().startsWith(ending.charAt(0) + "")) {