Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 155 for Code (0.12 sec)

  1. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

      private volatile long autoIncrementStepNanos;
    
      /** Advances the ticker value by {@code time} in {@code timeUnit}. */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
      public FakeTicker advance(long time, TimeUnit timeUnit) {
        return advance(timeUnit.toNanos(time));
      }
    
      /** Advances the ticker value by {@code nanoseconds}. */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

    /**
     * Unit tests for {@code TreeMultimap} with explicit comparators.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class TreeMultimapExplicitTest extends TestCase {
    
      /**
       * Compare strings lengths, and if the lengths are equal compare the strings. A {@code null} is
       * less than any non-null value.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       *
       * @param keyOffset 1 if this is the reverse direction of a BiMap, 0 otherwise.
       * @return an {@code Object} that is a {@code byte[]}, {@code short[]}, or {@code int[]}, the
       *     smallest possible to fit {@code tableSize}; or an {@code Object[]} where [0] is one of
       *     these; [1] indicates how many element pairs in {@code alternatingKeysAndValues} are valid;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  4. guava/pom.xml

                <!-- Even after we stop using JSR305 annotations in our own code, we'll want this link so that NullPointerTester's docs can link to @CheckForNull and friends... at least once we start using this config for guava-testlib. -->
                <offlineLink>
                  <url>https://static.javadoc.io/com.google.code.findbugs/jsr305/3.0.1/</url>
                  <location>${project.basedir}/javadoc-link/jsr305</location>
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        sampleInstances.putAll(checkNotNull(type), checkNotNull(instances));
      }
    
      /**
       * Returns a fresh instance for {@code type} if possible. The returned instance could be:
       *
       * <ul>
       *   <li>exactly of the given type, including generic type parameters, such as {@code
       *       ImmutableList<String>};
       *   <li>of the raw type;
       *   <li>null if no value can be generated.
       * </ul>
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  6. .github/workflows/ci.yml

    permissions:
      contents: read
    
    jobs:
      test:
        permissions:
          actions: write  # for styfle/cancel-workflow-action to cancel/stop running workflows
          contents: read  # for actions/checkout to fetch code
        name: "${{ matrix.root-pom }} on JDK ${{ matrix.java }} on ${{ matrix.os }}"
        strategy:
          matrix:
            os: [ ubuntu-latest ]
            java: [ 8, 11, 17, 21 ]
            root-pom: [ 'pom.xml', 'android/pom.xml' ]
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      }
    
      /**
       * Sets the result of this {@code Future} unless this {@code Future} has already been cancelled or
       * set (including {@linkplain #setFuture set asynchronously}). When a call to this method returns,
       * the {@code Future} is guaranteed to be {@linkplain #isDone done} <b>only if</b> the call was
       * accepted (in which case it returns {@code true}). If it returns {@code false}, the {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Optional.java

     *       {@code flatMap}, and {@code orElseThrow}.
     *   <li>{@code java.util} offers the primitive-specialized versions {@code OptionalInt}, {@code
     *       OptionalLong} and {@code OptionalDouble}, the use of which is recommended; Guava does not
     *       have these.
     * </ul>
     *
     * <p><b>There are no plans to deprecate this class in the foreseeable future.</b> However, we do
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TopKSelector.java

        }
        return this;
      }
    
      /**
       * Adds each member of {@code elements} as a candidate for the top {@code k} elements. This
       * operation takes amortized linear time in the length of {@code elements}.
       *
       * <p>If all input data to this {@code TopKSelector} is in a single {@code Iterable}, prefer
       * {@link Ordering#leastOf(Iterable, int)}, which provides a simpler API for that use case.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Lists.java

       * in the returned list and vice versa.
       *
       * <p>Since functions are not reversible, the transform is one-way and new items cannot be stored
       * in the returned list. The {@code add}, {@code addAll} and {@code set} methods are unsupported
       * in the returned list.
       *
       * <p>The function is applied lazily, invoked when needed. This is necessary for the returned list
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
Back to top