Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getGenericComponentType (1.95 sec)

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

        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof GenericArrayType) {
            GenericArrayType that = (GenericArrayType) obj;
            return Objects.equals(getGenericComponentType(), that.getGenericComponentType());
          }
          return false;
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/Types.java

        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof GenericArrayType) {
            GenericArrayType that = (GenericArrayType) obj;
            return Objects.equals(getGenericComponentType(), that.getGenericComponentType());
          }
          return false;
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/GenericsUtil.java

            case WildcardType wildcard -> getRawClass(wildcard.getUpperBounds()[0]);
            case GenericArrayType arrayType -> {
                Class<?> rawClass = getRawClass(arrayType.getGenericComponentType());
                yield Array.newInstance(rawClass, 0).getClass();
            }
            case null, default -> null;
            };
        }
    
        /**
         * Returns the array of type arguments for the specified type.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeVisitor.java

     *     visit(t.getOwnerType());
     *     visit(t.getActualTypeArguments());
     *   }
     *   protected void visitGenericArrayType(GenericArrayType t) {
     *     visit(t.getGenericComponentType());
     *   }
     *   protected void visitTypeVariable(TypeVariable<?> t) {
     *     throw new IllegalArgumentException("Cannot contain type variable.");
     *   }
     *   protected void visitWildcardType(WildcardType t) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeResolver.java

            }
            Type componentType = Types.getComponentType(to);
            checkArgument(componentType != null, "%s is not an array type.", to);
            populateTypeMappings(mappings, fromArrayType.getGenericComponentType(), componentType);
          }
    
          @Override
          void visitClass(Class<?> fromClass) {
            if (to instanceof WildcardType) {
              return; // Okay to say Foo is <?>
            }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/TypeResolver.java

            }
            Type componentType = Types.getComponentType(to);
            checkArgument(componentType != null, "%s is not an array type.", to);
            populateTypeMappings(mappings, fromArrayType.getGenericComponentType(), componentType);
          }
    
          @Override
          void visitClass(Class<?> fromClass) {
            if (to instanceof WildcardType) {
              return; // Okay to say Foo is <?>
            }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        new EqualsTester()
            .addEqualityGroup(jvmType1, ourType1)
            .addEqualityGroup(jvmType2, ourType2)
            .testEquals();
        assertEquals(new TypeCapture<List<String>>() {}.capture(), ourType1.getGenericComponentType());
        assertEquals(jvmType1.toString(), ourType1.toString());
        assertEquals(jvmType2.toString(), ourType2.toString());
      }
    
      public void testNewArrayTypeOfArray() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top