Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for rawType (0.2 sec)

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

        private final Class<?> rawType;
    
        ParameterizedTypeImpl(@CheckForNull Type ownerType, Class<?> rawType, Type[] typeArguments) {
          checkNotNull(rawType);
          checkArgument(typeArguments.length == rawType.getTypeParameters().length);
          disallowPrimitiveType(typeArguments, "type parameter");
          this.ownerType = ownerType;
          this.rawType = rawType;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
        return defaultGenerate(rawType);
      }
    
      private <T> @Nullable T defaultGenerate(Class<T> rawType) {
        if (rawType.isInterface()) {
          // always create a new proxy
          return newProxy(rawType);
        }
        return ArbitraryInstances.get(rawType);
      }
    
      private <T> T newProxy(final Class<T> interfaceType) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
        return defaultGenerate(rawType);
      }
    
      private <T> @Nullable T defaultGenerate(Class<T> rawType) {
        if (rawType.isInterface()) {
          // always create a new proxy
          return newProxy(rawType);
        }
        return ArbitraryInstances.get(rawType);
      }
    
      private <T> T newProxy(final Class<T> interfaceType) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

            final Field field = getClass().getField("intField");
            FieldUtil.set(field, this, "abc");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetElementType_Rawtype() throws Exception {
            assertThat(FieldUtil.getElementTypeOfCollection(Baz.class.getField("collectionOfRawtype")), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

        assertTrue(multimap.asMap() instanceof SortedMap);
      }
    
      // 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 MultimapBuilderWithKeys<Comparable<?>> rawtypeToWildcard(
          MultimapBuilderWithKeys<Comparable> treeKeys) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 27 09:26:07 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

        assertTrue(multimap.asMap() instanceof SortedMap);
      }
    
      // 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 MultimapBuilderWithKeys<Comparable<?>> rawtypeToWildcard(
          MultimapBuilderWithKeys<Comparable> treeKeys) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 09:26:07 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  7. 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, not including the module name.
             *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

         */
        private boolean containsPatches(Set<PathType> types) {
            for (PathType type : types) {
                if (type instanceof JavaPathType.Modular) {
                    type = ((JavaPathType.Modular) type).rawType();
                }
                if (JavaPathType.PATCH_MODULE.equals(type)) {
                    return true;
                }
            }
            return false;
        }
    
        /**
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

         */
        private boolean containsPatches(Set<PathType> types) {
            for (PathType type : types) {
                if (type instanceof JavaPathType.Modular) {
                    type = ((JavaPathType.Modular) type).rawType();
                }
                if (JavaPathType.PATCH_MODULE.equals(type)) {
                    return true;
                }
            }
            return false;
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  10. 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) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
Back to top