Searched refs:values (Results 126 - 149 of 149) sorted by relevance

123456

/libcore/luni/src/main/java/java/util/concurrent/
H A DConcurrentSkipListMap.java54 * <em>not</em> permit the use of {@code null} keys or values because some
55 * null return values cannot be reliably distinguished from the absence of
60 * @param <V> the type of mapped values
112 * using otherwise impossible field values). Using plain nodes
329 /** Lazily initialized values collection */
330 private transient Values<V> values; field in class:ConcurrentSkipListMap
342 values = null;
359 * Nodes hold keys and values, and are singly linked in sorted
363 * values for marker and header nodes.
517 * Creates index node with given values
1756 public Collection<V> values() { method in class:ConcurrentSkipListMap
2942 public Collection<V> values() { method in class:ConcurrentSkipListMap.SubMap
[all...]
H A DConcurrentHashMap.java100 * @param <V> the type of mapped values
123 * placeholders while establishing values in computeIfAbsent and
125 * ReservationNode do not hold normal user keys, values, or
173 * first values are:
283 * tied hash values. (This corresponds to the full list search
421 * are special, and contain null keys and values (but are never
624 private transient ValuesView<K,V> values; field in class:ConcurrentHashMap
730 return sumCount() <= 0L; // ignore transient negative values
1046 * Returns a {@link Collection} view of the values contained in this map.
1063 public Collection<V> values() { method in class:ConcurrentHashMap
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
H A DFieldTest.java432 Object values[] = { new Byte((byte) 1), new Byte((byte) 1),
439 Object value = values[i];
486 Object value = values[i];
/libcore/jsr166-tests/src/test/java/jsr166/
H A DTreeSubMapTest.java92 * containsValue returns true for held values
168 * values collection contains all values
172 Collection s = map.values();
355 * size returns the correct values
602 * containsValue returns true for held values
678 * values collection contains all values
682 Collection s = map.values();
718 * Values.toArray contains all values
[all...]
H A DConcurrentSkipListSubMapTest.java94 * containsValue returns true for held values
170 * values collection contains all values
174 Collection s = map.values();
210 * Values.toArray contains all values
214 Collection v = map.values();
466 * size returns the correct values
768 * containsValue returns true for held values
844 * values collection contains all values
[all...]
H A DConcurrentSkipListMapTest.java72 * containsValue returns true for held values
234 * Values.toArray contains all values
238 Collection v = map.values();
250 * values collection contains all values
254 Collection s = map.values();
655 * size returns the correct values
H A DAbstractQueuedLongSynchronizerTest.java597 for (AwaitMethod awaitMethod : AwaitMethod.values()) {
H A DAbstractQueuedSynchronizerTest.java600 for (AwaitMethod awaitMethod : AwaitMethod.values()) {
H A DReentrantLockTest.java486 for (AwaitMethod awaitMethod : AwaitMethod.values()) {
H A DTreeMapTest.java71 * containsValue returns true for held values
233 * values collection contains all values
237 Collection s = map.values();
536 * size returns the correct values
H A DReentrantReadWriteLockTest.java870 for (AwaitMethod awaitMethod : AwaitMethod.values()) {
/libcore/libart/src/main/java/java/lang/
H A DThread.java144 * Normal thread local values.
149 * Inheritable thread local values.
591 return State.values()[nativeGetStatus(hasBeenStarted)];
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldRuntimeTest.java270 Object [] valueSet = System.getenv().values().toArray();
H A DOldClassTest.java420 assertEquals(TestEnum.values().length, constants.length);
422 assertEquals(TestEnum.values()[i], constants[i]);
/libcore/luni/src/test/java/libcore/java/sql/
H A DOldResultSetGetterTests.java76 static List<String> values = Arrays.asList("1", "-1", "22", "2", "33", field in class:OldResultSetGetterTests
152 // first inserted row : actual values
153 // second inserted row: null values
189 + "values (1, -1, 22, 2, 33,"
207 + "values (null, null, null, null, null,"
246 for (String t : values) {
273 .prepareStatement("insert into testBinary values (?);");
305 stPrep = conn.prepareStatement("insert into testBinary values (?);");
355 .prepareStatement("insert into testBinary values (?);");
387 stPrep = conn.prepareStatement("insert into testBinary values (
[all...]
/libcore/luni/src/test/java/libcore/java/util/
H A DOldTreeMapTest.java258 Collection<Double> valueCollection = smap.values();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DMathTest.java1050 double[] values = { p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12,
1053 for (int x = 0; x < values.length; x++) {
1054 double dval = values[x];
1197 for (int j = 1; j < values.length; j++) {
1198 double jval = values[j];
/libcore/luni/src/main/java/java/util/
H A DIdentityHashMap.java27 * instead of equality by value. Basically, keys and values are compared for
50 * and values in an alternating fashion.
79 * Object used to represent null keys and values. This is used to
297 * Creates an IdentityHashMap using the given map as initial values.
651 * Returns a collection of the values contained in this map. The collection
667 * @return a collection of the values contained in this map.
670 public Collection<V> values() { method in class:IdentityHashMap
H A DWeakHashMap.java26 * optional operations (adding and removing) are supported. Keys and values can
393 * Returns a collection of the values contained in this map. The collection
409 * @return a collection of the values contained in this map.
412 public Collection<V> values() { method in class:WeakHashMap
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/
H A DX500PrincipalTest.java2968 Object[] values = list.get(i);
2969 byte[] encoded = (byte[]) values[0];
2970 String rfc2253 = (String) values[1];
2971 String rfc1179 = (String) values[2];
2972 String canonical = (String) values[3];
2973 byte mask = ((byte[]) values[4])[0];
/libcore/luni/src/main/java/libcore/reflect/
H A DAnnotationAccess.java123 /* convert annotation values from HashMap to array */
124 Collection<Annotation> coll = map.values();
332 * default values:
521 * to guarantee that Dex-relative indices and encoded values are interpreted
523 * values accept that Dex as a parameter or the class from which that Dex
559 return null; // not the expected values on this annotation; give up
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DCollectionsTest.java123 // The collection to test, whether to offset the filler values by
205 // The collection to test, whether to offset the filler values by
1438 // synchronized map does not have to permit null keys or values
2226 // values Integer(0) to Integer(99)
2239 // values()
2240 new Support_UnmodifiableCollectionTest("values() from map test", modifiableMap.values())
2242 new Support_UnmodifiableCollectionTest("values() from unmodifiable map test",
2243 unmodifiableMap.values()).runTest();
H A DArraysTest.java1867 for (PrimitiveTypeArrayBuilder builder : PrimitiveTypeArrayBuilder.values()) {
1871 for (PrimitiveTypeConverter converter : PrimitiveTypeConverter.values()) {
H A DFormatterTest.java4142 * java.util.Formatter.BigDecimalLayoutForm#values()
4145 BigDecimalLayoutForm[] vals = BigDecimalLayoutForm.values();
4146 assertEquals("Invalid length of enum values", 2, vals.length);

Completed in 581 milliseconds

123456