Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testIsInstanceOf_apply (0.08 sec)

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

       * stripper to remove comments properly. Currently, all tests before the comments are removed as
       * well.
       */
      @GwtIncompatible // Predicates.instanceOf
      public void testIsInstanceOf_apply() {
        Predicate<@Nullable Object> isInteger = Predicates.instanceOf(Integer.class);
    
        assertTrue(isInteger.apply(1));
        assertFalse(isInteger.apply(2.0f));
        assertFalse(isInteger.apply(""));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/PredicatesTest.java

       * stripper to remove comments properly. Currently, all tests before the comments are removed as
       * well.
       */
      @GwtIncompatible // Predicates.instanceOf
      public void testIsInstanceOf_apply() {
        Predicate<@Nullable Object> isInteger = Predicates.instanceOf(Integer.class);
    
        assertTrue(isInteger.apply(1));
        assertFalse(isInteger.apply(2.0f));
        assertFalse(isInteger.apply(""));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
Back to top