Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSubtypeOf_interface (0.17 sec)

  1. guava-tests/test/com/google/common/base/PredicatesTest.java

        assertTrue(isNumber.apply(Integer.class));
        assertTrue(isNumber.apply(Float.class));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Predicates.subtypeOf
      public void testSubtypeOf_interface() {
        Predicate<Class<?>> isComparable = Predicates.subtypeOf(Comparable.class);
    
        assertTrue(isComparable.apply(Integer.class));
        assertTrue(isComparable.apply(Float.class));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
Back to top