- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 333 for support (0.18 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
extends AbstractCollectionTester<E> { @CollectionFeature.Require(SUPPORTS_ADD) public void testAddAll_supportedNothing() { assertFalse("addAll(nothing) should return false", collection.addAll(emptyCollection())); expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAddAll_unsupportedNothing() { try { assertFalse(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashMultimapGwtSerializationDependencies.java
*/ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import java.util.Collection; import java.util.Map; /** * A dummy superclass to support GWT serialization of the element types of a {@link HashMultimap}. * The GWT supersource for this class contains a field for each type. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Oct 24 18:57:48 GMT 2019 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimapGwtSerializationDependencies.java
*/ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import java.util.Collection; import java.util.Map; /** * A dummy superclass to support GWT serialization of the element types of a {@link * LinkedHashMultimap}. The GWT supersource for this class contains a field for each type. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Oct 24 18:57:48 GMT 2019 - 1.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
public class CollectionAddTester<E> extends AbstractCollectionTester<E> { @CollectionFeature.Require(SUPPORTS_ADD) public void testAdd_supportedNotPresent() { assertTrue("add(notPresent) should return true", collection.add(e3())); expectAdded(e3()); } @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAdd_unsupportedNotPresent() { try { collection.add(e3());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapFeature.java
* * @author Louis Wasserman */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum MultimapFeature implements Feature<Multimap> { VALUE_COLLECTIONS_SUPPORT_ITERATOR_REMOVE; private final Set<Feature<? super Multimap>> implied; MultimapFeature(Feature<? super Multimap>... implied) { this.implied = Helpers.copyToSet(implied); } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ComputationException.java
* * @author Bob Lee * @since 2.0 * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was * thrown by {@link MapMaker} computing maps. When support for computing maps was removed from * {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code * ExecutionException}, {@code UncheckedExecutionException}, and {@code ExecutionError}. Any
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Aug 04 13:28:27 GMT 2021 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
public void testRow() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), table.row("foo")); } // This test assumes that the implementation does not support null keys. public void testRowNull() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); try { table.row(null); fail(); } catch (NullPointerException expected) { }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:54:11 GMT 2024 - 6.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
public void testRow() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), table.row("foo")); } // This test assumes that the implementation does not support null keys. public void testRowNull() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); try { table.row(null); fail(); } catch (NullPointerException expected) { }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 16:54:11 GMT 2024 - 6.6K bytes - Viewed (0) -
guava/src/com/google/common/annotations/GwtIncompatible.java
@Documented @GwtCompatible public @interface GwtIncompatible { /** * Describes why the annotated element is incompatible with GWT. Since this is generally due to a * dependence on a type/method which GWT doesn't support, it is sufficient to simply reference the * unsupported type/method. E.g. "Class.isInstance". * * <p>As of Guava 20.0, this value is optional. We encourage authors who wish to describe why an
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 16:29:08 GMT 2017 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheLoader.java
* return createExpensiveGraph(key); * } * }; * LoadingCache<Key, Graph> cache = CacheBuilder.newBuilder().build(loader); * }</pre> * * <p>Since this example doesn't support reloading or bulk loading, if you're able to use lambda * expressions it can be specified even more easily: * * <pre>{@code * CacheLoader<Key, Graph> loader = CacheLoader.from(key -> createExpensiveGraph(key)); * }</pre>
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 19 20:20:14 GMT 2022 - 9.6K bytes - Viewed (0)