- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 235 for _gwt (0.2 sec)
-
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
} private static <K, V> ImmutableSetMultimap<K, V> copyOf( Multimap<? extends K, ? extends V> multimap, @Nullable Comparator<? super V> valueComparator) { checkNotNull(multimap); // eager for GWT if (multimap.isEmpty() && valueComparator == null) { return of(); } if (multimap instanceof ImmutableSetMultimap) { @SuppressWarnings("unchecked") // safe since multimap is not writable
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
} private static <K, V> ImmutableSetMultimap<K, V> copyOf( Multimap<? extends K, ? extends V> multimap, @Nullable Comparator<? super V> valueComparator) { checkNotNull(multimap); // eager for GWT if (multimap.isEmpty() && valueComparator == null) { return of(); } if (multimap instanceof ImmutableSetMultimap) { @SuppressWarnings("unchecked") // safe since multimap is not writable
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
assertEquals(asList(3), partitions.get(1)); } @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT. @GwtIncompatible // ArrayList.subList doesn't implement RandomAccess in GWT. public void testPartitionRandomAccessTrue() { List<Integer> source = asList(1, 2, 3); List<List<Integer>> partitions = partition(source, 2); assertTrue(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K bytes - Viewed (0) -
guava/src/com/google/common/net/MediaType.java
checkArgument(!token.isEmpty()); return Ascii.toLowerCase(token); } private static String normalizeParameterValue(String attribute, String value) { checkNotNull(value); // for GWT checkArgument(ascii().matchesAllOf(value), "parameter values must be ASCII: %s", value); return attribute.equals(CHARSET_ATTRIBUTE) ? Ascii.toLowerCase(value) : value; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 48K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
assertThrows(NullPointerException.class, () -> builder.put(immutableEntry((String) null, 1))); builder.put("foo", 2); assertMapEquals(builder.buildOrThrow(), "foo", 2); } // for GWT compatibility static class SimpleEntry<K, V> extends AbstractMapEntry<K, V> { public K key; public V value; SimpleEntry(K key, V value) { this.key = key; this.value = value; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* * <p>The successor to Guava's caching API is <a * href="https://github.com/ben-manes/caffeine/wiki">Caffeine</a>. Its API is designed to make it a * nearly drop-in replacement. Note that it is not available for Android or GWT/J2CL and that it may * have <a href="https://github.com/ben-manes/caffeine/wiki/Guava">different (usually better) * behavior</a> when multiple threads attempt concurrent mutations. Its equivalent to {@code * CacheBuilder} is its <a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsTest.java
assertEquals(ImmutableSet.of(3, 2, 1), i.next()); assertFalse(i.hasNext()); assertThrows(NoSuchElementException.class, () -> i.next()); } @GwtIncompatible // too slow for GWT public void testPowerSetIteration_iteratorTester() { ImmutableSet<Integer> elements = ImmutableSet.of(1, 2); Set<Set<Integer>> expected = new LinkedHashSet<>(); expected.add(ImmutableSet.<Integer>of());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
* to prioritize memory over CPU. * * @author Louis Wasserman * @author Jon Noack */ @GwtIncompatible // not worth using in GWT for now class CompactHashMap<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMap<K, V> implements Serializable { /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 35.7K bytes - Viewed (0) -
android/guava/src/com/google/common/net/MediaType.java
checkArgument(!token.isEmpty()); return Ascii.toLowerCase(token); } private static String normalizeParameterValue(String attribute, String value) { checkNotNull(value); // for GWT checkArgument(ascii().matchesAllOf(value), "parameter values must be ASCII: %s", value); return attribute.equals(CHARSET_ATTRIBUTE) ? Ascii.toLowerCase(value) : value; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 48K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
} @SuppressWarnings("unchecked") ImmutableList<ListenableFuture<T>> delegatesCast = (ImmutableList) delegates; return delegatesCast; } /** Can't use Iterables.toArray because it's not gwt compatible */ @SuppressWarnings("unchecked") private static <T extends @Nullable Object> ListenableFuture<? extends T>[] gwtCompatibleToArray( Iterable<? extends ListenableFuture<? extends T>> futures) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0)