Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createExpensiveGraph (0.17 sec)

  1. guava/src/com/google/common/cache/CacheLoader.java

     *     return createExpensiveGraph(key);
     *   }
     * };
     * LoadingCache<Key, Graph> cache = CacheBuilder.newBuilder().build(loader);
     * }
     *
     * <p>Since this example doesn't support reloading or bulk loading, it can also be specified much
     * more simply:
     *
     * {@snippet :
     * CacheLoader<Key, Graph> loader = CacheLoader.from(key -> createExpensiveGraph(key));
     * }
     *
     * @author Charles Fry
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

     *     .removalListener(MY_LISTENER)
     *     .build(
     *         new CacheLoader<Key, Graph>() {
     *           public Graph load(Key key) throws AnyException {
     *             return createExpensiveGraph(key);
     *           }
     *         });
     * }
     *
     * <p>Or equivalently,
     *
     * {@snippet :
     * // In real life this would come from a command-line flag or config file
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
Back to top