- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 405 for defaults (0.18 sec)
-
guava/src/com/google/common/cache/CacheBuilderSpec.java
builder.weakKeys(); break; default: throw new AssertionError(); } } if (valueStrength != null) { switch (valueStrength) { case SOFT: builder.softValues(); break; case WEAK: builder.weakValues(); break; default: throw new AssertionError(); } }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Aug 22 14:27:44 GMT 2022 - 18.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java
import javax.annotation.CheckForNull; /** * A descending wrapper around an {@code ImmutableSortedMultiset} * * @author Louis Wasserman */ @SuppressWarnings("serial") // uses writeReplace, not default serialization @GwtIncompatible @ElementTypesAreNonnullByDefault final class DescendingImmutableSortedMultiset<E> extends ImmutableSortedMultiset<E> { private final transient ImmutableSortedMultiset<E> forward;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java
import javax.annotation.CheckForNull; /** * A descending wrapper around an {@code ImmutableSortedMultiset} * * @author Louis Wasserman */ @SuppressWarnings("serial") // uses writeReplace, not default serialization @GwtIncompatible @ElementTypesAreNonnullByDefault final class DescendingImmutableSortedMultiset<E> extends ImmutableSortedMultiset<E> { private final transient ImmutableSortedMultiset<E> forward;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SingletonImmutableSet.java
* * @author Kevin Bourrillion * @author Nick Kralevich */ @GwtCompatible(serializable = true, emulated = true) @SuppressWarnings("serial") // uses writeReplace(), not default serialization @ElementTypesAreNonnullByDefault final class SingletonImmutableSet<E> extends ImmutableSet<E> { // We deliberately avoid caching the asList and hashCode here, to ensure that with
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
* DEFAULT_VALUE} if this method call takes over 50 ms, you can use this code: * * <pre> * TimeLimiter limiter = . . .; * TargetType proxy = limiter.newProxy( * target, TargetType.class, 50, TimeUnit.MILLISECONDS); * try { * return proxy.someMethod(); * } catch (UncheckedTimeoutException e) { * return DEFAULT_VALUE; * } * </pre> *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 18:32:03 GMT 2023 - 8.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
import static org.junit.Assert.assertThrows; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.OutputStream; import java.util.EnumSet; /** * Tests for the default implementations of {@code ByteSink} methods. * * @author Colin Decker */ public class ByteSinkTest extends IoTestCase { private final byte[] bytes = newPreFilledByteArray(10000);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/UndirectedGraphConnections.java
new HashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR)); case STABLE: return new UndirectedGraphConnections<>( new LinkedHashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR)); default: throw new AssertionError(incidentEdgeOrder.type()); } } static <N, V> UndirectedGraphConnections<N, V> ofImmutable(Map<N, V> adjacentNodeValues) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Oct 06 00:47:57 GMT 2021 - 3.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
* * @see ImmutableMap * @see ImmutableSet * @author Kevin Bourrillion * @since 2.0 */ @GwtCompatible(serializable = true, emulated = true) @SuppressWarnings("serial") // we're overriding default serialization @ElementTypesAreNonnullByDefault public abstract class ImmutableList<E> extends ImmutableCollection<E> implements List<E>, RandomAccess { /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 30K bytes - Viewed (1) -
guava/src/com/google/common/collect/DiscreteDomain.java
* value for which {@link Comparable#compareTo(Object)} never returns a positive value for any * input of type {@code C}. * * <p>The default implementation throws {@code NoSuchElementException}. * * @return the minimum value of type {@code C}; never null * @throws NoSuchElementException if the type has no (practical) minimum value; for example,
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 10.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
if (exec != null) { exec.shutdown(); } super.tearDown(); } public void testListenerDoesNotRunUntilTaskCompletes() throws Exception { // Test default state of not started. assertEquals(1, listenerLatch.getCount()); assertFalse(task.isDone()); assertFalse(task.isCancelled()); // Start the task to put it in the RUNNING state. Have to use a separate
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.7K bytes - Viewed (0)