Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getGenericComponentType (0.19 sec)

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

        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof GenericArrayType) {
            GenericArrayType that = (GenericArrayType) obj;
            return Objects.equal(getGenericComponentType(), that.getGenericComponentType());
          }
          return false;
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/GenericsUtil.java

            }
            if (type instanceof GenericArrayType) {
                final GenericArrayType genericArrayType = GenericArrayType.class.cast(type);
                final Class<?> rawClass = getRawClass(genericArrayType.getGenericComponentType());
                return Array.newInstance(rawClass, 0).getClass();
            }
            return null;
        }
    
        /**
         * <code>type</code>の型引数の配列を返します。
         * <p>
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top