Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,659 for implement (0.2 sec)

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

     * effort required to implement this interface.
     *
     * <p>To implement a cache, the programmer needs only to extend this class and provide an
     * implementation for the {@link #get(Object)} and {@link #getIfPresent} methods. {@link
     * #getUnchecked}, {@link #get(Object, Callable)}, and {@link #getAll} are implemented in terms of
     * {@code get}; {@link #getAllPresent} is implemented in terms of {@code getIfPresent}; {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/AbstractLoadingCache.java

     * effort required to implement this interface.
     *
     * <p>To implement a cache, the programmer needs only to extend this class and provide an
     * implementation for the {@link #get(Object)} and {@link #getIfPresent} methods. {@link
     * #getUnchecked}, {@link #get(Object, Callable)}, and {@link #getAll} are implemented in terms of
     * {@code get}; {@link #getAllPresent} is implemented in terms of {@code getIfPresent}; {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractIterator.java

     * ordinarily difficult to write iterators for. But using this class, one must implement only the
     * {@link #computeNext} method, and invoke the {@link #endOfData} method when appropriate.
     *
     * <p>Another example is an iterator that skips over null elements in a backing iterator. This could
     * be implemented as:
     *
     * <pre>{@code
     * public static Iterator<String> skipNulls(final Iterator<String> in) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/PredecessorsFunction.java

     * {@link ValueGraph}, and {@link Network}):
     *
     * <pre>{@code
     * someGraphAlgorithm(startNode, graph);
     * }</pre>
     *
     * This works because those types each implement {@code PredecessorsFunction}. It will also work
     * with any other implementation of this interface.
     *
     * <p>If you have your own graph implementation based around a custom node type {@code MyNode},
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/SuccessorsFunction.java

     * {@link ValueGraph}, and {@link Network}):
     *
     * <pre>{@code
     * someGraphAlgorithm(startNode, graph);
     * }</pre>
     *
     * This works because those types each implement {@code SuccessorsFunction}. It will also work with
     * any other implementation of this interface.
     *
     * <p>If you have your own graph implementation based around a custom node type {@code MyNode},
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
       */
      protected abstract List<String> create(String[] elements);
    
      @Override
      public String[] createArray(int length) {
        return new String[length];
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

        int i = 0;
        for (Object e : elements) {
          array[i++] = (UnhashableObject) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
       */
      protected abstract T create(UnhashableObject[] elements);
    
      @Override
      public UnhashableObject[] createArray(int length) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/AbstractCache.java

     * effort required to implement this interface.
     *
     * <p>To implement a cache, the programmer needs only to extend this class and provide an
     * implementation for the {@link #put} and {@link #getIfPresent} methods. {@link #getAllPresent} is
     * implemented in terms of {@link #getIfPresent}; {@link #putAll} is implemented in terms of {@link
     * #put}, {@link #invalidateAll(Iterable)} is implemented in terms of {@link #invalidate}. The
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       *
       * <p>Although all tasks are immediately executed in the thread that submitted the task, this
       * {@code ExecutorService} imposes a small locking overhead on each task submission in order to
       * implement shutdown and termination behavior.
       *
       * <p>Because of the nature of single-thread execution, the methods {@code scheduleAtFixedRate}
       * and {@code scheduleWithFixedDelay} are not supported by this class and will throw an
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 26 22:04:00 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

    public final class JdkFutureAdapters {
      /**
       * Assigns a thread to the given {@link Future} to provide {@link ListenableFuture} functionality.
       *
       * <p><b>Warning:</b> If the input future does not already implement {@code ListenableFuture}, the
       * returned future will emulate {@link ListenableFuture#addListener} by taking a thread from an
       * internal, unbounded pool at the first call to {@code addListener} and holding it until the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 7.5K bytes
    - Viewed (0)
Back to top