Home
last modified time | relevance | path

Searched refs:cloned (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/text/
DBreakIterator.java469 BreakIterator cloned = (BreakIterator) super.clone(); in clone() local
470 cloned.wrapped = (NativeBreakIterator) wrapped.clone(); in clone()
471 return cloned; in clone()
DRuleBasedBreakIterator.java112 RuleBasedBreakIterator cloned = (RuleBasedBreakIterator) super.clone(); in clone() local
113 cloned.wrapped = (NativeBreakIterator) wrapped.clone(); in clone()
114 return cloned; in clone()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DBreakIteratorTest.java67 BreakIterator cloned = (BreakIterator) iterator.clone(); in testClone() local
68 assertNotSame(cloned, iterator); in testClone()
69 assertEquals(cloned, iterator); in testClone()
DDecimalFormatTest.java647 DecimalFormat cloned = (DecimalFormat) format.clone(); in test_equals() local
648 cloned.setDecimalFormatSymbols(new DecimalFormatSymbols(Locale.US)); in test_equals()
649 assertEquals(format, cloned); in test_equals()
652 cloned.setCurrency(c); in test_equals()
654 assertEquals(format, cloned); in test_equals()
999 DecimalFormat cloned = (DecimalFormat) format.clone(); in test_clone() local
1000 assertEquals(cloned.getDecimalFormatSymbols(), format.getDecimalFormatSymbols()); in test_clone()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArrayDequeTest.java878 ArrayDeque<Object> cloned = testQue.clone(); in test_clone() local
879 assertEquals(0, cloned.size()); in test_clone()
880 assertFalse(cloned == testQue); in test_clone()
887 cloned = testQue.clone(); in test_clone()
888 assertEquals(6, cloned.size()); in test_clone()
890 assertEquals(testQue.remove(), cloned.remove()); in test_clone()