Home
last modified time | relevance | path

Searched refs:setValue (Results 1 – 25 of 90) sorted by relevance

1234

/libcore/ojluni/src/main/java/sun/util/locale/
DExtension.java45 setValue(value); in Extension()
48 protected void setValue(String value) { in setValue() method in Extension
/libcore/luni/src/test/java/libcore/java/util/
DAbstractMapTest.java36 entry.setValue(-1); in testSimpleEntrySetValue()
42 Assert.assertThrows(UnsupportedOperationException.class, () -> immutableEntry.setValue(-1)); in testSimpleEntrySetValue()
DOldMapEntryTest.java77 me.setValue("Wrong element"); in testSetValue()
81 me.setValue(""); in testSetValue()
DTreeMapTest.java52 assertEquals("a", entryA.setValue("x")); in testEntrySetSetValue()
56 assertEquals("b", entryB.setValue("y")); in testEntrySetSetValue()
58 assertEquals("c", entryC.setValue("z")); in testEntrySetSetValue()
79 assertEquals("a", entryA.setValue("x")); in testSubMapEntrySetSetValue()
84 assertEquals("b", entryB.setValue("y")); in testSubMapEntrySetSetValue()
86 assertEquals("c", entryC.setValue("z")); in testSubMapEntrySetSetValue()
138 entry.setValue("x"); in assertImmutable()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DSimpleImmutableEntryTest.java45 public Object setValue(Object object) { in setValue() method in SimpleImmutableEntryTest.NullEntry
89 entry.setValue("Another String"); in test_SimpleImmutableEntry_setValue()
96 entry.setValue(null); in test_SimpleImmutableEntry_setValue()
DSimpleEntryTest.java44 public Object setValue(Object object) { in setValue() method in SimpleEntryTest.NullEntry
87 entry.setValue("Another String"); in test_SimpleEntry_setValue()
/libcore/ojluni/src/test/java/util/SequencedCollection/
DBasicMap.java534 assertThrows(UOE, () -> { map.firstEntry().setValue(99); }); in checkUnmodifiableEntry()
535 assertThrows(UOE, () -> { map.lastEntry().setValue(99); }); in checkUnmodifiableEntry()
536 assertThrows(UOE, () -> { map.sequencedEntrySet().getFirst().setValue(99); }); in checkUnmodifiableEntry()
537 assertThrows(UOE, () -> { map.sequencedEntrySet().getLast().setValue(99); }); in checkUnmodifiableEntry()
538 assertThrows(UOE, () -> { map.sequencedEntrySet().reversed().getFirst().setValue(99); }); in checkUnmodifiableEntry()
539 assertThrows(UOE, () -> { map.sequencedEntrySet().reversed().getLast().setValue(99); }); in checkUnmodifiableEntry()
568 assertThrows(CCE, () -> { objMap.sequencedEntrySet().getFirst().setValue(new Object()); }); in checkChecked()
569 …assertThrows(CCE, () -> { objMap.sequencedEntrySet().reversed().getFirst().setValue(new Object());… in checkChecked()
572 …assertThrows(CCE, () -> { objMap.reversed().sequencedEntrySet().getFirst().setValue(new Object());… in checkChecked()
573 …CE, () -> { objMap.reversed().sequencedEntrySet().reversed().getFirst().setValue(new Object()); }); in checkChecked()
[all …]
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DPosixFilePermissions.java84 private static boolean isSet(char c, char setValue) { in isSet() argument
85 if (c == setValue) in isSet()
/libcore/luni/src/main/java/org/w3c/dom/
DAttr.java207 public void setValue(String value) in setValue() method
/libcore/ojluni/src/test/java/util/HashMap/
DSetValue.java44 Object returnVal = e.setValue(newValue); in main()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DAttributesImplTest.java458 multi.setValue(0, "too much"); in testSetValue()
462 multi.setValue(1, null); in testSetValue()
467 multi.setValue(-1, "too much"); in testSetValue()
474 multi.setValue(5, "too much"); in testSetValue()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DEntryTest.java140 e.setValue(k2); in testSetValue1()
154 s.setValue(k2); in testSetValue2()
/libcore/jsr166-tests/src/test/java/jsr166/
DEntryTest.java117 e.setValue(k2); in testSetValue1()
131 s.setValue(k2); in testSetValue2()
/libcore/ojluni/src/main/java/java/util/
DKeyValueHolder.java92 public V setValue(V value) { in setValue() method in KeyValueHolder
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Dattrcreatetextnode.java77 streetAttr.setValue("Y&ent1;"); in runTest()
Dhc_attrcreatetextnode.java76 streetAttr.setValue("Y&ent1;"); in runTest()
Dhc_namednodemapinuseattributeerr.java78 domesticAttr.setValue("Y\u03b1"); // Android-changed: GREEK LOWER CASE ALPHA in runTest()
Dnamednodemapinuseattributeerr.java79 domesticAttr.setValue("Yes"); in runTest()
Dhc_attrsetvalue1.java73 titleAttr.setValue("Tomorrow"); in runTest()
DattrsetvaluenomodificationallowederrEE.java91 ((Attr) /*Node */attrNode).setValue("newvalue"); in runTest()
Dhc_attrsetvalue2.java76 titleAttr.setValue("Tomorrow"); in runTest()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DAbstractMap.annotated.java79 @libcore.util.NullFromTypeParam public V setValue(@libcore.util.NullFromTypeParam V value) { throw … in setValue() method in AbstractMap.SimpleEntry
99 @libcore.util.NullFromTypeParam public V setValue(@libcore.util.NullFromTypeParam V value) { throw … in setValue() method in AbstractMap.SimpleImmutableEntry
/libcore/ojluni/src/main/java/jdk/internal/util/
DNullableKeyValueHolder.java125 public V setValue(V value) { in setValue() method in NullableKeyValueHolder
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
Delementsetattributenodens01.java90 attribute2.setValue("value2"); in runTest()
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DAttrImpl.java110 public void setValue(String value) throws DOMException { in setValue() method in AttrImpl

1234