Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 165 for rawType (0.08 sec)

  1. android/guava/src/com/google/common/reflect/TypeResolver.java

          }
          if (type instanceof ParameterizedType) {
            ParameterizedType parameterizedType = (ParameterizedType) type;
            Class<?> rawType = (Class<?>) parameterizedType.getRawType();
            TypeVariable<?>[] typeVars = rawType.getTypeParameters();
            Type[] typeArgs = parameterizedType.getActualTypeArguments();
            for (int i = 0; i < typeArgs.length; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        }
        return args;
      }
    
      @CheckForNull
      private <T> 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/TypeResolver.java

          }
          if (type instanceof ParameterizedType) {
            ParameterizedType parameterizedType = (ParameterizedType) type;
            Class<?> rawType = (Class<?>) parameterizedType.getRawType();
            TypeVariable<?>[] typeVars = rawType.getTypeParameters();
            Type[] typeArgs = parameterizedType.getActualTypeArguments();
            for (int i = 0; i < typeArgs.length; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

             * This is usually {@link #PATCH_MODULE}.
             *
             * @return type of path without indication about the target module
             */
            @Nonnull
            public JavaPathType rawType() {
                return JavaPathType.this;
            }
    
            /**
             * Returns the name of the tool option for this path, including the module name.
             *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertThat(types).contains(TypeToken.of(Object.class));
        assertThat(types.rawTypes()).contains(Object.class);
        assertThat(types.interfaces()).isEmpty();
        assertThat(types.interfaces().rawTypes()).isEmpty();
        assertThat(types.classes()).contains(TypeToken.of(Object.class));
        assertThat(types.classes().rawTypes()).contains(Object.class);
      }
    
      public void testGetTypes_fromInterface() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

        @SuppressWarnings("rawtypes") // class literals
        private final List<Class<? extends AbstractTester>> testers;
    
        @SuppressWarnings("rawtypes") // class literals
        public OneSizeTestSuiteBuilder(List<Class<? extends AbstractTester>> testers) {
          this.testers = testers;
        }
    
        @SuppressWarnings("rawtypes") // class literals
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        addImpliedFeatures(features);
    
        logger.fine("Expanded: " + formatFeatureSet(features));
    
        @SuppressWarnings("rawtypes") // class literals
        List<Class<? extends AbstractTester>> testers = getTesters();
    
        TestSuite suite = new TestSuite(name);
        for (@SuppressWarnings("rawtypes") // class literals
        Class<? extends AbstractTester> testerClass : testers) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/ConcurrentNavigableMapTestSuiteBuilder.java

        ConcurrentNavigableMapTestSuiteBuilder<K, V> result =
            new ConcurrentNavigableMapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top