- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 410 for defaults (0.17 sec)
-
guava/src/com/google/common/cache/CacheBuilder.java
public final class CacheBuilder<K, V> { private static final int DEFAULT_INITIAL_CAPACITY = 16; private static final int DEFAULT_CONCURRENCY_LEVEL = 4; @SuppressWarnings("GoodTime") // should be a java.time.Duration private static final int DEFAULT_EXPIRATION_NANOS = 0; @SuppressWarnings("GoodTime") // should be a java.time.Duration private static final int DEFAULT_REFRESH_NANOS = 0;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 51.3K bytes - Viewed (0) -
guava/src/com/google/common/base/package-info.java
* <li>{@link Stopwatch} * <li>{@link Throwables} * <li>{@link Verify} * </ul> * * <h3>The rest</h3> * * This package also contains some classes with niche use cases (e.g., {@link Utf8} and {@link * Defaults}), as well as a number of classes that have been superseded by additions to the JDK. */ @CheckReturnValue @ParametersAreNonnullByDefault package com.google.common.base;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Jun 26 16:48:06 GMT 2023 - 1.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java
assertEquals( "getOrDefault(absent, default) should return default", v3(), getMap().getOrDefault(k3(), v3())); } @MapFeature.Require(ALLOWS_NULL_KEYS) @CollectionSize.Require(absent = ZERO) public void testGetOrDefault_presentNull() { initMapWithNullKey(); assertEquals( "getOrDefault(null, default) should return the associated value", getValueForNullKey(),
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/ElementOrderTest.java
assertThat(network.edges()).containsExactly("i", "e", "p").inOrder(); assertThat(network.nodeOrder()).isEqualTo(ElementOrder.insertion()); // default } // The default ordering is INSERTION unless otherwise specified. @Test public void edgeOrder_default() { MutableNetwork<Integer, String> network = NetworkBuilder.directed().build(); addEdges(network);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingConcurrentMap.java
* * <p><b>{@code default} method warning:</b> This class forwards calls to <i>only some</i> {@code * default} methods. Specifically, it forwards calls only for methods that existed <a * href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ConcurrentMap.html">before * {@code default} methods were introduced</a>. For newer methods, like {@code forEach}, it inherits
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 29 19:42:21 GMT 2021 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayListMultimap.java
extends ArrayListMultimapGwtSerializationDependencies<K, V> { // Default from ArrayList private static final int DEFAULT_VALUES_PER_KEY = 3; @VisibleForTesting transient int expectedValuesPerKey; /** * Creates a new, empty {@code ArrayListMultimap} with the default initial capacities. * * <p>This method will soon be deprecated in favor of {@code
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CompactHashMapTest.java
assertThat(map.needsAllocArrays()).isFalse(); assertThat(map.entries).hasLength(CompactHashing.DEFAULT_SIZE); assertThat(map.keys).hasLength(CompactHashing.DEFAULT_SIZE); assertThat(map.values).hasLength(CompactHashing.DEFAULT_SIZE); } public void testAllocArraysExpectedSize() { for (int i = 0; i <= CompactHashing.DEFAULT_SIZE; i++) { CompactHashMap<Integer, String> map = CompactHashMap.createWithExpectedSize(i);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 21 14:41:51 GMT 2020 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactHashMapTest.java
assertThat(map.needsAllocArrays()).isFalse(); assertThat(map.entries).hasLength(CompactHashing.DEFAULT_SIZE); assertThat(map.keys).hasLength(CompactHashing.DEFAULT_SIZE); assertThat(map.values).hasLength(CompactHashing.DEFAULT_SIZE); } public void testAllocArraysExpectedSize() { for (int i = 0; i <= CompactHashing.DEFAULT_SIZE; i++) { CompactHashMap<Integer, String> map = CompactHashMap.createWithExpectedSize(i);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 09 21:08:15 GMT 2022 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashMultimap.java
extends HashMultimapGwtSerializationDependencies<K, V> { private static final int DEFAULT_VALUES_PER_KEY = 2; @VisibleForTesting transient int expectedValuesPerKey = DEFAULT_VALUES_PER_KEY; /** * Creates a new, empty {@code HashMultimap} with the default initial capacities. * * <p>This method will soon be deprecated in favor of {@code
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 06 16:06:58 GMT 2023 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingSortedSetMultimap.java
* desired per the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code * default} methods. Instead, it inherits their default implementations. When those implementations * invoke methods, they invoke methods on the {@code ForwardingSortedSetMultimap}. * * @author Kurt Alfred Kluever
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 15 21:08:00 GMT 2021 - 2.3K bytes - Viewed (0)