- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 454 for listOf (0.11 sec)
-
guava/src/com/google/common/reflect/TypeParameter.java
import javax.annotation.CheckForNull; /** * Captures a free type variable that can be used in {@link TypeToken#where}. For example: * * <pre>{@code * static <T> TypeToken<List<T>> listOf(Class<T> elementType) { * return new TypeToken<List<T>>() {} * .where(new TypeParameter<T>() {}, elementType); * } * }</pre> * * @author Ben Yu * @since 12.0 */ @ElementTypesAreNonnullByDefault /*
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeParameter.java
import javax.annotation.CheckForNull; /** * Captures a free type variable that can be used in {@link TypeToken#where}. For example: * * <pre>{@code * static <T> TypeToken<List<T>> listOf(Class<T> elementType) { * return new TypeToken<List<T>>() {} * .where(new TypeParameter<T>() {}, elementType); * } * }</pre> * * @author Ben Yu * @since 12.0 */ @ElementTypesAreNonnullByDefault /*
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Lists.java
* a provided list is null * @since 19.0 */ public static <B> List<List<B>> cartesianProduct(List<? extends List<? extends B>> lists) { return CartesianList.create(lists); } /** * Returns every possible list that can be formed by choosing one element from each of the given
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 29 16:48:36 UTC 2024 - 41.5K bytes - Viewed (0) -
android/guava/javadoc-link/jsr305/package-list
cpovirk <******@****.***> 1510351134 -0800
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Nov 10 22:31:30 UTC 2017 - 67 bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
try { multimap().putAll(k3(), Lists.newArrayList(v3(), null)); fail(); } catch (NullPointerException expected) { } 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(Lists.newArrayList(), Lists.newArrayList(values));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 7.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
.addEqualityGroup(newDelegatingIterableWithEquals(LIST2)) // different interface .testEquals(); } @SuppressWarnings("unchecked") // proxy of List<String> private static List<String> newDelegatingList(List<String> delegate) { return Reflection.newProxy(List.class, new DelegatingInvocationHandler(delegate)); } @SuppressWarnings("unchecked") // proxy of List<String>
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java
assertTrue(multimap().asMap().remove(key) instanceof List); } } @CollectionSize.Require(SEVERAL) public void testEquals() { resetContainer( Helpers.mapEntry(k0(), v0()), Helpers.mapEntry(k1(), v0()), Helpers.mapEntry(k0(), v3())); Map<K, Collection<V>> expected = Maps.newHashMap(); expected.put(k0(), Lists.newArrayList(v0(), v3())); expected.put(k1(), Lists.newArrayList(v0()));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java
assertTrue(multimap().asMap().remove(key) instanceof List); } } @CollectionSize.Require(SEVERAL) public void testEquals() { resetContainer( Helpers.mapEntry(k0(), v0()), Helpers.mapEntry(k1(), v0()), Helpers.mapEntry(k0(), v3())); Map<K, Collection<V>> expected = Maps.newHashMap(); expected.put(k0(), Lists.newArrayList(v0(), v3())); expected.put(k1(), Lists.newArrayList(v0()));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/cache/RemovalListener.java
* shared resources. * * @param <K> the most general type of keys this listener can listen for; for example {@code Object} * if any key is acceptable * @param <V> the most general type of values this listener can listen for; for example {@code * Object} if any key is acceptable * @author Charles Fry * @since 10.0 */ @GwtCompatible @FunctionalInterface
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
import static com.google.common.collect.Lists.newArrayList; import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE; import static java.util.Collections.emptyList; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.3K bytes - Viewed (0)