Searched refs:getValue (Results 1 - 25 of 175) sorted by relevance

1234567

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
H A DAdler32Test.java29 assertEquals("Constructor of adl32 failed", 1, adl.getValue());
33 * java.util.zip.Adler32#getValue()
36 // test methods of java.util.zip.getValue()
39 1, adl.getValue());
43 // System.out.print("value of adl"+adl.getValue());
46 131074, adl.getValue());
49 .getValue());
53 // System.out.print("value of adl " + adl.getValue());
56 65537L, adl.getValue());
66 // System.out.print("value of adl"+adl.getValue());
[all...]
H A DCRC32Test.java29 assertEquals("Constructor of CRC32 failed", 0, crc.getValue());
33 * java.util.zip.CRC32#getValue()
36 // test methods of java.util.zip.crc32.getValue()
38 assertEquals("getValue() should return a zero as a result of constructing a CRC32 instance",
39 0, crc.getValue());
43 // System.out.print("value of crc " + crc.getValue());
47 4278190080L, crc.getValue());
52 // System.out.print("value of crc"+crc.getValue());
56 1295764014L, crc.getValue());
60 // System.out.print("value of crc"+crc.getValue());
[all...]
H A DCheckedOutputStreamTest.java40 .getChecksum().getValue());
63 // System.out.print(chkOut.getChecksum().getValue());
66 .getChecksum().getValue());
70 // System.out.print(" " +chkOut.getChecksum().getValue());
73 .getChecksum().getValue());
99 chkOut.getChecksum().getValue() != 0);
122 chkOut.getChecksum().getValue() != 0);
H A DCheckedInputStreamTest.java38 .getValue());
53 .getChecksum().getValue());
62 // System.out.print(" " + checkIn.getChecksum().getValue());
64 .getValue());
71 // System.out.print(" " + checkIn2.getChecksum().getValue());
73 .getValue());
89 // System.out.print(checkIn.getChecksum().getValue());
91 .getValue());
/libcore/luni/src/main/java/java/util/zip/
H A DChecksum.java30 public long getValue(); method in interface:Checksum
/libcore/luni/src/main/java/org/xml/sax/
H A DAttributeList.java43 * String value = atts.getValue(i);
57 * String identifier = atts.getValue("id");
58 * String label = atts.getValue("label");
149 * @see #getValue(java.lang.String)
151 public abstract String getValue (int i);
182 * getValue(int).</p>
190 * @see #getValue(int) method in interface:AttributeList
192 public abstract String getValue (String name);
150 public abstract String getValue (int i); method in interface:AttributeList
H A DAttributes.java90 * @see #getValue(int)
167 public abstract String getValue (int index);
232 * <p>See {@link #getValue(int) getValue(int)} for a description
241 public abstract String getValue (String uri, String localName);
247 * <p>See {@link #getValue(int) getValue(int)} for a description
255 public abstract String getValue (String qName);
166 public abstract String getValue (int index); method in interface:Attributes
239 public abstract String getValue (String uri, String localName); method in interface:Attributes
253 public abstract String getValue (String qName); method in interface:Attributes
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
H A DAttributeListImplTest.java76 assertEquals(multi.getValue(i), attrs.getValue(i));
95 assertEquals("false", multi.getValue(3));
102 assertEquals("false", multi.getValue(4));
108 assertEquals(null, multi.getValue(5));
116 assertEquals("xyz", multi.getValue(0));
170 assertEquals("abc", multi.getValue(0));
171 assertEquals("xyz", multi.getValue(1));
172 assertEquals("42", multi.getValue(2));
175 assertEquals(null, multi.getValue(
[all...]
H A DAttributesImplTest.java134 assertEquals("abc", multi.getValue(0));
135 assertEquals("xyz", multi.getValue(1));
136 assertEquals("42", multi.getValue(2));
137 assertEquals("1-2-3-4", multi.getValue(3));
138 assertEquals("1-2-3-4", multi.getValue(4));
141 assertEquals(null, multi.getValue(-1));
142 assertEquals(null, multi.getValue(5));
203 assertEquals("abc", multi.getValue("http://some.uri", "foo"));
204 assertEquals("xyz", multi.getValue("http://some.uri", "bar"));
205 assertEquals("42", multi.getValue("htt
[all...]
/libcore/luni/src/main/java/java/security/cert/
H A DExtension.java56 byte[] getValue(); method in interface:Extension
/libcore/luni/src/main/java/java/text/
H A DAnnotation.java56 public Object getValue() { method in class:Annotation
/libcore/luni/src/main/java/org/w3c/dom/
H A DAttr.java190 public String getValue(); method in interface:Attr
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DOldAndroidChecksumTest.java45 assertEquals(adler.getValue(), expected);
52 assertEquals(adler.getValue(), expected);
60 assertEquals(crc.getValue(), expected);
67 assertEquals(crc.getValue(), expected);
86 long arrayChecksum = adler.getValue();
92 " actual: " + adler.getValue(), arrayChecksum, adler.getValue());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DAnnotationTest.java33 assertNull(a.getValue());
35 assertEquals("value", a.getValue());
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DPSourceTest.java51 0, PSource.PSpecified.DEFAULT.getValue().length);
58 .getValue()[0]);
62 * getValue() method testing. Tests that returned array is equal to the
70 byte[] result = ps.getValue();
76 assertFalse("The change of returned by getValue() array "
78 result[0] == ps.getValue()[0]);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DSimpleEntryTest.java40 public Object getValue() { method in class:SimpleEntryTest.NullEntry
55 assertEquals("test", testEntry.getValue());
60 assertNull(testEntry.getValue());
79 assertEquals("test", entry.getValue());
81 assertNull(entry.getValue());
86 assertEquals("test", entry.getValue());
88 assertEquals("Another String", entry.getValue());
107 ^ (e.getValue() == null ? 0 : e.getValue().hashCode()), e
113 assertEquals(e.getKey() + "=" + e.getValue(),
[all...]
H A DSimpleImmutableEntryTest.java41 public Object getValue() { method in class:SimpleImmutableEntryTest.NullEntry
56 assertEquals("test", testEntry.getValue());
61 assertNull(testEntry.getValue());
80 assertEquals("test", entry.getValue());
82 assertNull(entry.getValue());
87 assertEquals("test", entry.getValue());
94 assertEquals("test", entry.getValue());
115 ^ (e.getValue() == null ? 0 : e.getValue().hashCode()), e
121 assertEquals(e.getKey() + "=" + e.getValue(),
[all...]
/libcore/luni/src/main/java/java/util/
H A DAbstractMap.java65 value = copyFrom.getValue();
72 public V getValue() { method in class:AbstractMap.SimpleImmutableEntry
92 && (value == null ? entry.getValue() == null : value
93 .equals(entry.getValue()));
130 value = copyFrom.getValue();
137 public V getValue() { method in class:AbstractMap.SimpleEntry
155 && (value == null ? entry.getValue() == null : value
156 .equals(entry.getValue()));
217 if (value.equals(it.next().getValue())) {
223 if (it.next().getValue()
[all...]
H A DMapEntry.java59 && (value == null ? entry.getValue() == null : value
60 .equals(entry.getValue()));
69 public V getValue() { method in class:MapEntry
/libcore/support/src/test/java/tests/util/
H A DCallVerificationStack.java212 Boolean value = (Boolean) wrapper.getValue();
223 Character value = (Character) wrapper.getValue();
234 Double value = (Double) wrapper.getValue();
245 Float value = (Float) wrapper.getValue();
256 Integer value = (Integer) wrapper.getValue();
267 Long value = (Long) wrapper.getValue();
278 Short value = (Short) wrapper.getValue();
349 public Object getValue() { method in class:CallVerificationStack.BaseTypeWrapper
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DAttributeListImpl.java122 addAttribute(atts.getName(i), atts.getType(i), atts.getValue(i));
246 * @see org.xml.sax.AttributeList#getValue(int) method in class:AttributeListImpl
248 public String getValue(int i) {
276 * @see org.xml.sax.AttributeList#getValue(java.lang.String) method in class:AttributeListImpl
278 public String getValue(String name) {
279 return getValue(names.indexOf(name));
/libcore/luni/src/main/java/org/apache/harmony/xml/
H A DExpatAttributes.java71 public String getValue(int index) { method in class:ExpatAttributes
116 public String getValue(String uri, String localName) { method in class:ExpatAttributes
127 return getValue(pointer, uri, localName);
130 public String getValue(String qName) { method in class:ExpatAttributes
147 private static native String getValue(long attributePointer, String uri, String localName); method in class:ExpatAttributes
/libcore/jsr166-tests/src/test/java/jsr166/
H A DEntryTest.java37 assertEquals(v1, e.getValue());
46 assertEquals(v1, s.getValue());
56 assertEquals(v1, e.getValue());
66 assertEquals(v1, s.getValue());
110 * getValue returns last setValue for SimpleEntry
116 assertEquals(v1, e.getValue());
118 assertEquals(k2, e.getValue());
129 assertEquals(v1, s.getValue());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ext/
H A DAttributes2ImplTest.java78 assertEquals(multi.getValue(i), attrs.getValue(i));
95 assertEquals(multi.getValue(i), attrs.getValue(i));
128 assertEquals("abc", attrs.getValue(0));
143 assertEquals("abc", attrs.getValue(1));
161 assertEquals(multi.getValue(0), attrs.getValue(0));
169 assertEquals(multi.getValue(2), attrs.getValue(
[all...]
/libcore/luni/src/test/java/libcore/java/util/jar/
H A DOldAttributesTest.java38 a.getValue("IllegalArgumentException expected");
63 .getValue(new Attributes.Name("1")));
65 .getValue(new Attributes.Name("0")));

Completed in 569 milliseconds

1234567