Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getLowerBounds (0.09 sec)

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

            Type[] fromUpperBounds = fromWildcardType.getUpperBounds();
            Type[] toUpperBounds = toWildcardType.getUpperBounds();
            Type[] fromLowerBounds = fromWildcardType.getLowerBounds();
            Type[] toLowerBounds = toWildcardType.getLowerBounds();
            checkArgument(
                fromUpperBounds.length == toUpperBounds.length
                    && fromLowerBounds.length == toLowerBounds.length,
    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/src/com/google/common/reflect/TypeResolver.java

            Type[] fromUpperBounds = fromWildcardType.getUpperBounds();
            Type[] toUpperBounds = toWildcardType.getUpperBounds();
            Type[] fromLowerBounds = fromWildcardType.getLowerBounds();
            Type[] toLowerBounds = toWildcardType.getLowerBounds();
            checkArgument(
                fromUpperBounds.length == toUpperBounds.length
                    && fromLowerBounds.length == toLowerBounds.length,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/Types.java

      static Type newArrayType(Type componentType) {
        if (componentType instanceof WildcardType) {
          WildcardType wildcard = (WildcardType) componentType;
          Type[] lowerBounds = wildcard.getLowerBounds();
          checkArgument(lowerBounds.length <= 1, "Wildcard cannot have more than one lower bounds.");
          if (lowerBounds.length == 1) {
            return supertypeOf(newArrayType(lowerBounds[0]));
          } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        assertEquals(expected.toString(), actual.toString());
        assertEquals(actual.toString(), expected.hashCode(), actual.hashCode());
        assertThat(actual.getLowerBounds())
            .asList()
            .containsExactlyElementsIn(asList(expected.getLowerBounds()))
            .inOrder();
        assertThat(actual.getUpperBounds())
            .asList()
            .containsExactlyElementsIn(asList(expected.getUpperBounds()))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/TypesTest.java

        assertEquals(expected.toString(), actual.toString());
        assertEquals(actual.toString(), expected.hashCode(), actual.hashCode());
        assertThat(actual.getLowerBounds())
            .asList()
            .containsExactlyElementsIn(asList(expected.getLowerBounds()))
            .inOrder();
        assertThat(actual.getUpperBounds())
            .asList()
            .containsExactlyElementsIn(asList(expected.getUpperBounds()))
    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