Searched refs:upperBounded (Results 1 – 1 of 1) sorted by relevance
609 TypeToken<?> upperBounded = TypeToken.of(Types.subtypeOf(Object[].class)); in testAssignableArrayClassToBoundedWildcard() local611 assertTrue(upperBounded.isAssignableFrom(Object[].class)); in testAssignableArrayClassToBoundedWildcard()612 assertTrue(upperBounded.isAssignableFrom(Object[][].class)); in testAssignableArrayClassToBoundedWildcard()613 assertTrue(upperBounded.isAssignableFrom(String[].class)); in testAssignableArrayClassToBoundedWildcard()629 TypeToken<?> upperBounded = TypeToken.of(Types.subtypeOf(Object[].class)); in testAssignableWildcardToWildcard() local631 assertFalse(lowerBounded.isAssignableFrom(upperBounded)); in testAssignableWildcardToWildcard()633 assertTrue(upperBounded.isAssignableFrom(upperBounded)); in testAssignableWildcardToWildcard()634 assertFalse(upperBounded.isAssignableFrom(lowerBounded)); in testAssignableWildcardToWildcard()