Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for li (0.17 sec)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        return new IteratorOperation() {
          @Override
          public @Nullable Object execute(Iterator<?> iterator) {
            @SuppressWarnings("unchecked")
            ListIterator<E> li = (ListIterator<E>) iterator;
            li.set(toInsert);
            return null;
          }
        };
      }
    
      abstract static class Stimulus<E extends @Nullable Object, T extends Iterator<E>> {
        private final String toString;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Throwables.java

       * by delaying the per-stack-frame work until each element is accessed. Roughly speaking:
       *
       * <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
    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)
  3. guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * <ul>
     *   <li><b>Shallow immutability.</b> Elements can never be added, removed or replaced in this
     *       collection. This is a stronger guarantee than that of {@link
     *       Collections#unmodifiableCollection}, whose contents change whenever the wrapped collection
     *       is modified.
     *   <li><b>Null-hostility.</b> This collection will never contain a null element.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  4. guava/src/com/google/common/collect/Collections2.java

          this.size = calculateSize(inputList, comparator);
        }
    
        /**
         * The number of permutations with repeated elements is calculated as follows:
         *
         * <ul>
         *   <li>For an empty list, it is 1 (base case).
         *   <li>When r numbers are added to a list of n-r elements, the number of permutations is
         *       increased by a factor of (n choose r).
         * </ul>
         */
        private static <E> int calculateSize(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * <ul>
     *   <li><b>Shallow immutability.</b> Elements can never be added, removed or replaced in this
     *       collection. This is a stronger guarantee than that of {@link
     *       Collections#unmodifiableCollection}, whose contents change whenever the wrapped collection
     *       is modified.
     *   <li><b>Null-hostility.</b> This collection will never contain a null element.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Closer.java

     *
     * <p>This pattern ensures the following:
     *
     * <ul>
     *   <li>Each {@code Closeable} resource that is successfully registered will be closed later.
     *   <li>If a {@code Throwable} is thrown in the try block, no exceptions that occur when attempting
     *       to close resources will be thrown from the finally block. The throwable from the try block
     *       will be thrown.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        return new IteratorOperation() {
          @Override
          public @Nullable Object execute(Iterator<?> iterator) {
            @SuppressWarnings("unchecked")
            ListIterator<E> li = (ListIterator<E>) iterator;
            li.set(toInsert);
            return null;
          }
        };
      }
    
      abstract static class Stimulus<E extends @Nullable Object, T extends Iterator<E>> {
        private final String toString;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * <ul>
       *   <li>Any {@link ExecutionException} has its <i>cause</i> wrapped in an {@code X} if the cause
       *       is a checked exception, an {@link UncheckedExecutionException} if the cause is a {@code
       *       RuntimeException}, or an {@link ExecutionError} if the cause is an {@code Error}.
       *   <li>Any {@link InterruptedException} is wrapped in an {@code X} (after restoring the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

       * }</pre>
       *
       * <p>returns a set containing six lists:
       *
       * <ul>
       *   <li>{@code ImmutableList.of(1, "A")}
       *   <li>{@code ImmutableList.of(1, "B")}
       *   <li>{@code ImmutableList.of(1, "C")}
       *   <li>{@code ImmutableList.of(2, "A")}
       *   <li>{@code ImmutableList.of(2, "B")}
       *   <li>{@code ImmutableList.of(2, "C")}
       * </ul>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *
     * <ol>
     *   <li>A pipeline starts at its leaf step (or steps), which is created from either a callable
     *       block or a {@link ListenableFuture}.
     *   <li>Each other step is derived from one or more input steps. At each step, zero or more objects
     *       can be captured for later closing.
     *   <li>There is one last step (the root of the tree), from which you can extract the final result
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
Back to top