Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Retriever (0.24 sec)

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

    import com.google.common.util.concurrent.ListenableFutureTask;
    import java.io.Serializable;
    import java.util.Map;
    import java.util.concurrent.Executor;
    
    /**
     * Computes or retrieves values, based on a key, for use in populating a {@link LoadingCache}.
     *
     * <p>Most implementations will only need to implement {@link #load}. Other methods may be
     * overridden as desired.
     *
     * <p>Usage example:
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * This class provides a skeletal implementation of the {@link ListIterator} interface across a
     * fixed number of elements that may be retrieved by position. It does not support {@link #remove},
     * {@link #set}, or {@link #add}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 3.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractIndexedListIterator.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * This class provides a skeletal implementation of the {@link ListIterator} interface across a
     * fixed number of elements that may be retrieved by position. It does not support {@link #remove},
     * {@link #set}, or {@link #add}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 3.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheLoader.java

    import com.google.common.util.concurrent.ListenableFutureTask;
    import java.io.Serializable;
    import java.util.Map;
    import java.util.concurrent.Executor;
    
    /**
     * Computes or retrieves values, based on a key, for use in populating a {@link LoadingCache}.
     *
     * <p>Most implementations will only need to implement {@link #load}. Other methods may be
     * overridden as desired.
     *
     * <p>Usage example:
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

        }
      }
    
      public void testBroken() {
        Iterator<Object> broken = new BrokenAbstractSequentialIterator();
        assertTrue(broken.hasNext());
        // We can't retrieve even the known first element:
        try {
          broken.next();
          fail();
        } catch (MyException expected) {
        }
        try {
          broken.next();
          fail();
        } catch (MyException expected) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 17:19:08 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/PredecessorsFunction.java

     * with any other implementation of this interface.
     *
     * <p>If you have your own graph implementation based around a custom node type {@code MyNode},
     * which has a method {@code getParents()} that retrieves its predecessors in a graph:
     *
     * <pre>{@code
     * someGraphAlgorithm(startNode, MyNode::getParents);
     * }</pre>
     *
     * <p>If you have some other mechanism for returning the predecessors of a node, or one that doesn't
    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)
  7. android/guava/src/com/google/common/graph/SuccessorsFunction.java

     * any other implementation of this interface.
     *
     * <p>If you have your own graph implementation based around a custom node type {@code MyNode},
     * which has a method {@code getChildren()} that retrieves its successors in a graph:
     *
     * <pre>{@code
     * someGraphAlgorithm(startNode, MyNode::getChildren);
     * }</pre>
     *
     * <p>If you have some other mechanism for returning the successors of a node, or one that doesn't
    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)
  8. android/guava/src/com/google/common/base/Supplier.java

     *
     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface Supplier<T extends @Nullable Object>
    {
      /**
       * Retrieves an instance of the appropriate type. The returned object may or may not be a new
       * instance, depending on the implementation.
       *
       * @return an instance of the appropriate type
       */
      @ParametricNullness
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

        }
      }
    
      public void testBroken() {
        Iterator<Object> broken = new BrokenAbstractSequentialIterator();
        assertTrue(broken.hasNext());
        // We can't retrieve even the known first element:
        try {
          broken.next();
          fail();
        } catch (MyException expected) {
        }
        try {
          broken.next();
          fail();
        } catch (MyException expected) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 17:19:08 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractIterator.java

     * such as {@link java.io.Reader#read()}, do not expose this information; the only way to discover
     * whether there is any data left is by trying to retrieve it. These types of data sources are
     * 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.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
Back to top