- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 176 for rawtypes (0.07 sec)
-
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
// Other tests will verify what real, warning-free usage looks like // but here we have to do some serious fudging @Override @SuppressWarnings({"unchecked", "rawtypes"}) public Map<Class, Impl> create(Object... elements) { MutableClassToInstanceMap<Impl> map = MutableClassToInstanceMap.create(); for (Object object : elements) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
if (comparator == null) { // A sorted spliterator with no comparator is already using natural order. // (We could probably find a way to avoid rawtypes here if we wanted.) @SuppressWarnings({"unchecked", "rawtypes"}) Comparator<? super E> naturalOrder = (Comparator<? super E>) Comparator.<Comparable>naturalOrder(); comparator = naturalOrder; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 12.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
if (comparator == null) { // A sorted spliterator with no comparator is already using natural order. // (We could probably find a way to avoid rawtypes here if we wanted.) @SuppressWarnings({"unchecked", "rawtypes"}) Comparator<? super E> naturalOrder = (Comparator<? super E>) Comparator.<Comparable>naturalOrder(); comparator = naturalOrder; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 12.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java
SortedSetMultimapTestSuiteBuilder<K, V> result = new SortedSetMultimapTestSuiteBuilder<>(); result.usingGenerator(generator); return result; } @SuppressWarnings("rawtypes") // class literals @Override protected List<Class<? extends AbstractTester>> getTesters() { List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters()); testers.add(SetMultimapAsMapTester.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultTypeProvider.java
import org.apache.maven.api.Type; import org.apache.maven.api.spi.TypeProvider; @Named @Deprecated(since = "4.0.0") public class DefaultTypeProvider implements TypeProvider { @SuppressWarnings({"rawtypes", "unchecked"}) @Override public Collection<Type> provides() { return (Collection) types(); } public Collection<DefaultType> types() { return Arrays.asList(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
if (duplicates == null) { duplicates = new HashMap<>(); } duplicates.put(key, value); dupCount++; } } if (duplicates != null) { @SuppressWarnings({"rawtypes", "unchecked"}) Entry<K, V>[] newEntryArray = new Entry[n - dupCount]; for (int inI = 0, outI = 0; inI < n; inI++) { Entry<K, V> entry = requireNonNull(entryArray[inI]); K key = entry.getKey();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LegacyComparable.java
* types, though their use may still require an explicit type parameter and/or warning suppression. * * @author Kevin Bourrillion */ @SuppressWarnings({"ComparableType", "rawtypes"}) // https://github.com/google/guava/issues/989 @GwtCompatible @ElementTypesAreNonnullByDefault class LegacyComparable implements Comparable, Serializable { static final LegacyComparable X = new LegacyComparable("x");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
return method.getGenericParameterTypes()[0]; } @SuppressWarnings({"rawtypes", "unchecked"}) private static Type getSupertype(Type type, Class<?> superclass) { Class rawType = superclass; return TypeToken.of(type).getSupertype(rawType).getType(); } private static Type getSubtype(Type type, Class<?> subclass) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractRangeSet.java
import com.google.common.annotations.GwtIncompatible; import javax.annotation.CheckForNull; /** * A skeletal implementation of {@code RangeSet}. * * @author Louis Wasserman */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 @GwtIncompatible @ElementTypesAreNonnullByDefault abstract class AbstractRangeSet<C extends Comparable> implements RangeSet<C> { AbstractRangeSet() {} @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
assertThat(FieldUtil.getValueTypeOfMap(f), is(sameClass(Integer.class))); } /** * */ public static class Baz { /** */ @SuppressWarnings("rawtypes") public Collection collectionOfRawtype; /** */ public Collection<String> collectionOfString; /** */ public Map<String, Integer> map; }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.1K bytes - Viewed (0)