Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getLowerBounds (0.1 sec)

  1. 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)
  2. 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)
  3. 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