- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 157 for rawtypes (0.07 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
TestMultimapGenerator<K, V, M> generator) { return new MultimapTestSuiteBuilder<K, V, M>().usingGenerator(generator); } // Class parameters must be raw. @SuppressWarnings("rawtypes") // class literals @Override protected List<Class<? extends AbstractTester>> getTesters() { return ImmutableList.of( MultimapAsMapGetTester.class, MultimapAsMapTester.class,
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 26.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java
float hitRate; // We could avoid the raw type here by initializing this with a ternary (? SmallEnum.class : ...). // However, we end up needing a raw type in getIfPresent, as discussed there. @SuppressWarnings("rawtypes") private Class<? extends Enum> enumType; private String[] sampleData; @BeforeExperiment void setUp() throws ClassNotFoundException {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 29.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
return (List<E>) iterable; } List<E> list = new ArrayList<>(); for (E e : iterable) { list.add(e); } return list; } @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 public static <K extends Comparable, V extends @Nullable Object> Iterable<Entry<K, V>> orderEntriesByKey(List<Entry<K, V>> insertionOrder) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 17.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
} return args; } private <T> @Nullable T getDummyValue(TypeToken<T> type) { Class<? super T> rawType = type.getRawType(); @SuppressWarnings("unchecked") // Assume all default values are generics safe. T defaultValue = (T) defaultValues.getInstance(rawType); if (defaultValue != null) { return defaultValue; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
/** * A {@link RangeSet} whose contents will never change, with many other important properties * detailed at {@link ImmutableCollection}. * * @author Louis Wasserman * @since 14.0 */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 @GwtIncompatible public final class ImmutableRangeSet<C extends Comparable> extends AbstractRangeSet<C> implements Serializable {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 27.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
// a file. String visiblePackage = Reflection.getPackageName(cls); ImmutableList.Builder<Method> builder = ImmutableList.builder(); for (Class<?> type : TypeToken.of(cls).getTypes().rawTypes()) { if (!Reflection.getPackageName(type).equals(visiblePackage)) { break; } for (Method method : type.getDeclaredMethods()) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeRangeMap.java
* operations. * * <p>Like all {@code RangeMap} implementations, this supports neither null keys nor null values. * * @author Louis Wasserman * @since 14.0 */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 @GwtIncompatible // NavigableMap public final class TreeRangeMap<K extends Comparable, V> implements RangeMap<K, V> {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 26.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Range.java
* href="https://github.com/google/guava/wiki/RangesExplained">{@code Range}</a>. * * @author Kevin Bourrillion * @author Gregory Kick * @since 10.0 */ @GwtCompatible @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 @Immutable(containerOf = "C") public final class Range<C extends Comparable> implements Predicate<C>, Serializable { @SuppressWarnings("unchecked")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 28K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
// a file. String visiblePackage = Reflection.getPackageName(cls); ImmutableList.Builder<Method> builder = ImmutableList.builder(); for (Class<?> type : TypeToken.of(cls).getTypes().rawTypes()) { if (!Reflection.getPackageName(type).equals(visiblePackage)) { break; } for (Method method : type.getDeclaredMethods()) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 25.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
assertEquals("Started with " + startedWith, expected, actual); } } // J2kt cannot translate the Comparable rawtype in a usable way (it becomes Comparable<Object> // but types are typically only Comparable to themselves). @SuppressWarnings({"rawtypes", "unchecked"}) private static MinMaxPriorityQueue.Builder<Comparable<?>> rawtypeToWildcard( MinMaxPriorityQueue.Builder<Comparable> builder) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 36.1K bytes - Viewed (0)