Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Retriever (0.16 sec)

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

          return "Suppliers.compose(" + function + ", " + supplier + ")";
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a supplier which caches the instance retrieved during the first call to {@code get()}
       * and returns that value on subsequent calls to {@code get()}. See: <a
       * href="http://en.wikipedia.org/wiki/Memoization">memoization</a>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Throwables.java

       *
       * <ul>
       *   <li>{@code getStackTrace} takes {@code stackSize} time to return but then negligible time to
       *       retrieve each element of the returned list.
       *   <li>{@code lazyStackTrace} takes negligible time to return but then {@code 1/stackSize} time
       *       to retrieve each element of the returned list (probably slightly more than {@code
       *       1/stackSize}).
       * </ul>
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Throwables.java

       *
       * <ul>
       *   <li>{@code getStackTrace} takes {@code stackSize} time to return but then negligible time to
       *       retrieve each element of the returned list.
       *   <li>{@code lazyStackTrace} takes negligible time to return but then {@code 1/stackSize} time
       *       to retrieve each element of the returned list (probably slightly more than {@code
       *       1/stackSize}).
       * </ul>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testPartition_view() {
        List<Integer> list = asList(1, 2);
        Iterator<List<Integer>> partitions = Iterators.partition(list.iterator(), 1);
    
        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
        List<Integer> first = partitions.next();
    
        // Changes after are not
        list.set(0, 4);
    
        assertEquals(ImmutableList.of(3), first);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<List<Integer>> partitions = Lists.partition(list, 3);
    
        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
    
        Iterator<List<Integer>> iterator = partitions.iterator();
    
        // Changes before the partition is retrieved are reflected
        list.set(1, 4);
    
        List<Integer> first = iterator.next();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

      // calculate names?
    
      /**
       * Creates an {@link Executor} that renames the {@link Thread threads} that its tasks run in.
       *
       * <p>The names are retrieved from the {@code nameSupplier} on the thread that is being renamed
       * right before each task is run. The renaming is best effort, if a {@link SecurityManager}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       *
       * @throws NoSuchElementException if the queue is empty
       */
      @CanIgnoreReturnValue
      public E removeFirst() {
        return remove();
      }
    
      /**
       * Retrieves, but does not remove, the least element of this queue, or returns {@code null} if the
       * queue is empty.
       */
      @CheckForNull
      public E peekFirst() {
        return peek();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<List<Integer>> partitions = Iterables.partition(list, 2);
    
        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
    
        Iterator<List<Integer>> iterator = partitions.iterator();
    
        // Changes before the partition is retrieved are reflected
        list.set(1, 4);
    
        List<Integer> first = iterator.next();
    
        // Changes after are not
        list.set(0, 5);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  10. 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)
Back to top