Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getRawType (0.06 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(StringForFirstTypeArg.StringInnerType.class, actualSubtype.getRawType());
        assertThat(actualSubtype.getActualTypeArguments()[0]).isInstanceOf(WildcardType.class);
        ParameterizedType actualOwnerType = (ParameterizedType) actualSubtype.getOwnerType();
        assertEquals(StringForFirstTypeArg.class, actualOwnerType.getRawType());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(StringForFirstTypeArg.StringInnerType.class, actualSubtype.getRawType());
        assertThat(actualSubtype.getActualTypeArguments()[0]).isInstanceOf(WildcardType.class);
        ParameterizedType actualOwnerType = (ParameterizedType) actualSubtype.getOwnerType();
        assertEquals(StringForFirstTypeArg.class, actualOwnerType.getRawType());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

         */
        private Object parse(final MXParser parser, final TypeLiteral<?> toType) throws Exception {
            parser.require(XmlPullParser.START_TAG, null, null);
    
            final Class<?> rawType = toType.getRawType();
            if (XmlNode.class.isAssignableFrom(rawType)) {
                return XmlNodeBuilder.build(parser);
            }
            if (Xpp3Dom.class.isAssignableFrom(rawType)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/Types.java

          if (!(other instanceof ParameterizedType)) {
            return false;
          }
          ParameterizedType that = (ParameterizedType) other;
          return getRawType().equals(that.getRawType())
              && Objects.equal(getOwnerType(), that.getOwnerType())
              && Arrays.equals(getActualTypeArguments(), that.getActualTypeArguments());
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        new EqualsTester().addEqualityGroup(jvmType, ourType).testEquals();
        assertEquals(jvmType.toString(), ourType.toString());
        assertEquals(jvmType.hashCode(), ourType.hashCode());
        assertEquals(HashMap.class, ourType.getRawType());
        assertThat(ourType.getActualTypeArguments())
            .asList()
            .containsExactlyElementsIn(asList(jvmType.getActualTypeArguments()))
            .inOrder();
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypesTest.java

        new EqualsTester().addEqualityGroup(jvmType, ourType).testEquals();
        assertEquals(jvmType.toString(), ourType.toString());
        assertEquals(jvmType.hashCode(), ourType.hashCode());
        assertEquals(HashMap.class, ourType.getRawType());
        assertThat(ourType.getActualTypeArguments())
            .asList()
            .containsExactlyElementsIn(asList(jvmType.getActualTypeArguments()))
            .inOrder();
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                }
            }
    
            @Override
            public <Q> Supplier<Q> getCompiledBinding(Dependency<Q> dep) {
                Key<Q> key = dep.key();
                Class<Q> rawType = key.getRawType();
                if (rawType == List.class) {
                    return getListSupplier(key);
                } else if (rawType == Map.class) {
                    return getMapSupplier(key);
                } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(constructor.getTypeParameters()[0], factory.getTypeParameters()[1]);
        ParameterizedType returnType = (ParameterizedType) factory.getReturnType().getType();
        assertEquals(type, returnType.getRawType());
        assertEquals(
            ImmutableList.copyOf(type.getTypeParameters()),
            ImmutableList.copyOf(returnType.getActualTypeArguments()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(constructor.getTypeParameters()[0], factory.getTypeParameters()[1]);
        ParameterizedType returnType = (ParameterizedType) factory.getReturnType().getType();
        assertEquals(type, returnType.getRawType());
        assertEquals(
            ImmutableList.copyOf(type.getTypeParameters()),
            ImmutableList.copyOf(returnType.getActualTypeArguments()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top