- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 1,761 for Values (0.04 seconds)
-
android/guava/src/com/google/common/collect/ContiguousSet.java
import java.util.NoSuchElementException; import java.util.Set; /** * A sorted set of contiguous values in a given {@link DiscreteDomain}. Example: * * {@snippet : * ContiguousSet.create(Range.closed(5, 42), DiscreteDomain.integers()) * } * * <p>Note that because bounded ranges over {@code int} and {@code long} values are so common, this * particular example can be written as just: * * {@snippet :Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractTable.java
} } @LazyInit private transient @Nullable Collection<V> values; @Override public Collection<V> values() { Collection<V> result = values; return (result == null) ? values = createValues() : result; } Collection<V> createValues() { return new Values(); } Iterator<V> valuesIterator() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
map.compute( key, (K k, @Nullable Long value) -> updaterFunction.applyAsLong(value == null ? 0L : value.longValue())); return requireNonNull(result); } /** * Updates the value currently associated with {@code key} with the specified function, and * returns the old value. If there is not currently a value associated with {@code key}, the * function is applied to {@code 0L}.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 11.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java
// MultimapPutTester tests non-duplicate values, but ignores ordering @MapFeature.Require(SUPPORTS_PUT) public void testPutAddsValueAtEnd() { for (K key : sampleKeys()) { for (V value : sampleValues()) { resetContainer(); List<V> values = multimap().get(key); List<V> expectedValues = copyToList(values); assertTrue(multimap().put(key, value)); expectedValues.add(value);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
// in the short hash. We saw that a mask of 0x7f would keep the 7-bit value 0x6f from a full // hashcode of 0x89abcdef. The imaginary `hash` value would then be the remaining top 25 bits, // 0x89abcd80. To this is added (or'd) the `next` value, which is an index within `entries` // (and therefore within `keys` and `values`) of another entry that has the same short hash
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 35.7K bytes - Click Count (0) -
cmd/bucket-policy.go
} { if values, ok := cloneHeader[objLock]; ok { args[strings.TrimPrefix(objLock, "X-Amz-")] = values } cloneHeader.Del(objLock) } for key, values := range cloneHeader { if strings.EqualFold(key, xhttp.AmzObjectTagging) { continue } if existingValues, found := args[key]; found { args[key] = append(existingValues, values...) } else { args[key] = valuesCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.9K bytes - Click Count (0) -
docs/en/docs/tutorial/body-nested-models.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/CaseFormatTest.java
@GwtCompatible @NullUnmarked public class CaseFormatTest extends TestCase { public void testIdentity() { for (CaseFormat from : CaseFormat.values()) { assertWithMessage("%s to %s", from, from).that(from.to(from, "foo")).isSameInstanceAs("foo"); for (CaseFormat to : CaseFormat.values()) { assertWithMessage("%s to %s", from, to).that(from.to(to, "")).isEmpty();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
} public void testValues() { Map<String, Integer> map = create(); Collection<Integer> values = map.values(); assertTrue(values instanceof SynchronizedCollection); assertSame(mutex, ((SynchronizedCollection<?>) values).mutex); } public void testEntrySet() { Map<String, Integer> map = create(); Set<Entry<String, Integer>> entrySet = map.entrySet();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 28 19:11:14 GMT 2025 - 5.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java
} assertEqualIgnoringOrder(expected, multimap().values()); } @CollectionFeature.Require(KNOWN_ORDER) public void testValuesInOrder() { List<V> expected = new ArrayList<>(); for (Entry<K, V> entry : getOrderedElements()) { expected.add(entry.getValue()); } assertEqualInOrder(expected, multimap().values()); } @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 2.6K bytes - Click Count (0)