- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 1,761 for Values (0.04 seconds)
-
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
keyIterator.next(); keyIterator.remove(); assertFalse(underlying.containsKey("c")); Collection<String> values = map.values(); values.remove("4"); assertFalse(underlying.containsKey("d")); Iterator<String> valueIterator = values.iterator(); valueIterator.next(); valueIterator.remove(); assertFalse(underlying.containsKey("e"));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 12.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java
} private SampleElements<V> values() { return new SampleElements<>(v0(), v1(), v2(), v3(), v4()); } @MapFeature.Require(SUPPORTS_PUT) public void testReplaceAllRotate() { getMap() .replaceAll( (K k, V v) -> { int index = keys().asList().indexOf(k); return values().asList().get(index + 1); });
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 4.5K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
existingThing.convention("some-value") ``` It's not acceptable to treat an unset Provider as if the convention is requested when the convention could be set elsewhere: ```groovy public interface NewThing { Property<String> getSomeProperty() } // Unacceptable String value if (!getSomeProperty().isPresent()) { value = "convention" } else { value = getSomeProperty().get() }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Oct 15 20:00:57 GMT 2024 - 10K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
/** * Sets two distinct values for {@code type}. These values can be used for both null pointer * testing and equals testing. * * @since 17.0 */ protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) { tester.setDistinctValues(type, value1, value2); } /** Specifies that classes that satisfy the given predicate aren't tested for sanity. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 17.9K bytes - Click Count (0) -
schema/field_test.go
reflectValue = reflect.ValueOf(&user) ) // test valuer values := map[string]interface{}{ "name": user.Name, "id": user.ID, "created_at": user.CreatedAt, "updated_at": user.UpdatedAt, "deleted_at": user.DeletedAt, "age": user.Age, "birthday": user.Birthday, "active": true, } checkField(t, userSchema, reflectValue, values) var f *bool // test setter
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Feb 19 09:02:53 GMT 2022 - 12.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/package-info.java
* as that of its keys. This is sometimes called an "invertible map," since the restriction on * values enables it to support an {@linkplain BiMap#inverse inverse view} -- which is another * instance of {@code BiMap}. * <dt>{@link Table} * <dd>A new type, which is similar to {@link java.util.Map}, but which indexes its values by an
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
} int indexOfEntryWithValue(V value) { for (int i = 0; i < orderedEntries.size(); i++) { if (equal(orderedEntries.get(i).getValue(), value)) { return i; } } throw new IllegalArgumentException( "Map.values generator can order only sample values"); } });Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 18.2K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/Cache.java
/** * Associates {@code value} with {@code key} in this cache. If the cache previously contained a * value associated with {@code key}, the old value is replaced by {@code value}. * * <p>Prefer {@link #get(Object, Callable)} when using the conventional "if cached, return; * otherwise create, cache and return" pattern. * * @since 11.0 */ void put(K key, V value); /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
Collection<V> values = multimap().get(k3()); if (values.size() == 0) { expectUnchanged(); // Be extra thorough in case internal state was corrupted by the expected null. assertEquals(new ArrayList<>(), new ArrayList<>(values)); assertEquals(size, multimap().size()); } else { assertEquals(newArrayList(v3()), new ArrayList<>(values));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 7.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultTransformerManager.java
for (PomArtifactTransformer transformer : transformers.values()) { request = transformer.remapInstallArtifacts(session, request); } return request; } @Override public DeployRequest remapDeployArtifacts(RepositorySystemSession session, DeployRequest request) { for (PomArtifactTransformer transformer : transformers.values()) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 2.6K bytes - Click Count (0)