Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 205 for rawtypes (0.23 seconds)

  1. 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()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  2. 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 {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.4K bytes
    - Click Count (0)
  3. 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;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  4. 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;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  5. 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")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28.3K bytes
    - Click Count (0)
  6. 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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

             *
             * @param clazz The class to check.
             * @return true if the class is Date.class, false otherwise.
             */
            @Override
            public boolean isTarget(@SuppressWarnings("rawtypes") final Class clazz) {
                return clazz == Date.class;
            }
    
        }
    
        /**
         * Gets the bulk buffer size for batch operations.
         *
         * @return The bulk buffer size.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  8. 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")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28K bytes
    - Click Count (0)
  9. 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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  10. 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 {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 29.4K bytes
    - Click Count (0)
Back to Top