Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for doSomethingWith (0.37 seconds)

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

  1. android/guava/src/com/google/common/base/Optional.java

       * {@code Optional} class. However, this common usage:
       *
       * {@snippet :
       * for (Foo foo : possibleFoo.asSet()) {
       *   doSomethingWith(foo);
       * }
       * }
       *
       * ... can be replaced with:
       *
       * {@snippet :
       * possibleFoo.ifPresent(foo -> doSomethingWith(foo));
       * }
       *
       * <p><b>Java 9 users:</b> some use cases can be written with calls to {@code optional.stream()}.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.4K bytes
    - Click Count (0)
Back to Top