Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Lambda (0.05 sec)

  1. guava/src/com/google/common/collect/TreeTraverser.java

     *
     * <p>Null nodes are strictly forbidden.
     *
     * <p>Because this is an abstract class, not an interface, you can't use a lambda expression to
     * implement it:
     *
     * <pre>{@code
     * // won't work
     * TreeTraverser<NodeType> traverser = node -> node.getChildNodes();
     * }</pre>
     *
     * Instead, you can pass a lambda expression to the {@code using} factory method:
     *
     * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Optional.java

       * instead.
       *
       * <p>Unfortunately, the method reference {@code Optional::toJavaUtil} will not work, because it
       * could refer to either the static or instance version of this method. Write out the lambda
       * expression {@code o -> Optional.toJavaUtil(o)} instead.
       *
       * @since NEXT (but since 21.0 in the JRE flavor)
       */
      @SuppressWarnings({
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharSource.java

        return reader.lines().onClose(() -> closeUnchecked(reader));
      }
    
      @SuppressWarnings("Java7ApiChecker")
      @IgnoreJRERequirement // helper for lines()
      /*
       * If we make these calls inline inside the lambda inside lines(), we get an Animal Sniffer error,
       * despite the @IgnoreJRERequirement annotation there. For details, see ImmutableSortedMultiset.
       */
      private static void closeUnchecked(Closeable closeable) {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Ordering.java

       * TreeSet#TreeSet(Comparator)}, where such consistency is expected.
       *
       * <p>The returned comparator is serializable.
       *
       * <p><b>Java 8+ users:</b> Use the lambda expression {@code (a, b) -> 0} instead (in certain
       * cases you may need to cast that to {@code Comparator<YourType>}).
       *
       * @since 13.0
       */
      @GwtCompatible(serializable = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Ordering.java

       * TreeSet#TreeSet(Comparator)}, where such consistency is expected.
       *
       * <p>The returned comparator is serializable.
       *
       * <p><b>Java 8+ users:</b> Use the lambda expression {@code (a, b) -> 0} instead (in certain
       * cases you may need to cast that to {@code Comparator<YourType>}).
       *
       * @since 13.0
       */
      @GwtCompatible(serializable = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. docs/en/docs/release-notes.md

    * Add article to [External Links](https://fastapi.tiangolo.com/external-links/): [How to continuously deploy a FastAPI to AWS Lambda with AWS SAM](https://iwpnd.pw/articles/2020-01/deploy-fastapi-to-aws-lambda). PR [#901](https://github.com/tiangolo/fastapi/pull/901) by [@iwpnd](https://github.com/iwpnd).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
Back to top