Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testIsPresent_no (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

      }
    
      public void testFromNullable_null() {
        // not promised by spec, but easier to test
        assertThat(Optional.fromNullable(null)).isSameInstanceAs(Optional.absent());
      }
    
      public void testIsPresent_no() {
        assertFalse(Optional.absent().isPresent());
      }
    
      @SuppressWarnings("OptionalOfRedundantMethod") // Unit tests for Optional
      public void testIsPresent_yes() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 10.6K bytes
    - Click Count (0)
Back to Top