Searched refs:parentOf (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/main/java/java/util/ |
D | TreeMap.java | 2259 private static <K,V> TreeMapEntry<K,V> parentOf(TreeMapEntry<K,V> p) { in parentOf() method in TreeMap 2317 if (parentOf(x) == leftOf(parentOf(parentOf(x)))) { in fixAfterInsertion() 2318 TreeMapEntry<K,V> y = rightOf(parentOf(parentOf(x))); in fixAfterInsertion() 2320 setColor(parentOf(x), BLACK); in fixAfterInsertion() 2322 setColor(parentOf(parentOf(x)), RED); in fixAfterInsertion() 2323 x = parentOf(parentOf(x)); in fixAfterInsertion() 2325 if (x == rightOf(parentOf(x))) { in fixAfterInsertion() 2326 x = parentOf(x); in fixAfterInsertion() 2329 setColor(parentOf(x), BLACK); in fixAfterInsertion() 2330 setColor(parentOf(parentOf(x)), RED); in fixAfterInsertion() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadGroupTest.java | 352 assertTrue("Have to be parentOf all children", testRoot.parentOf(element)); in test_parentOfLjava_lang_ThreadGroup() 355 assertTrue("Have to be parentOf itself", testRoot.parentOf(testRoot)); in test_parentOfLjava_lang_ThreadGroup()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ThreadGroup.java | 305 public final boolean parentOf(ThreadGroup g) { in parentOf() method in ThreadGroup
|