Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for advanced (0.22 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}. */
    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/src/com/google/common/collect/TreeTraverser.java

       *
       * <p>No guarantees are made about the behavior of the traversal when nodes change while iteration
       * is in progress or when the iterators generated by {@link #children} are advanced.
       *
       * @deprecated Use {@link com.google.common.graph.Traverser#depthFirstPreOrder} instead, which has
       *     the same behavior.
       */
      @Deprecated
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. 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}. */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 14:40:46 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterators.java

       * hasNext()} returns {@code false}, whichever comes first.
       *
       * @return the number of elements the iterator was advanced
       * @since 13.0 (since 3.0 as {@code Iterators.skip})
       */
      @CanIgnoreReturnValue
      public static int advance(Iterator<?> iterator, int numberToAdvance) {
        checkNotNull(iterator);
        checkArgument(numberToAdvance >= 0, "numberToAdvance must be nonnegative");
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

       * hasNext()} returns {@code false}, whichever comes first.
       *
       * @return the number of elements the iterator was advanced
       * @since 13.0 (since 3.0 as {@code Iterators.skip})
       */
      @CanIgnoreReturnValue
      public static int advance(Iterator<?> iterator, int numberToAdvance) {
        checkNotNull(iterator);
        checkArgument(numberToAdvance >= 0, "numberToAdvance must be nonnegative");
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

    import java.util.logging.Level;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An abstract implementation of {@link ListenableFuture}, intended for advanced users only. More
     * common ways to create a {@code ListenableFuture} include instantiating a {@link SettableFuture},
     * submitting a task to a {@link ListeningExecutorService}, and deriving a {@code Future} from an
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      public void testAdvance() {
        FakeTicker ticker = new FakeTicker();
        assertEquals(0, ticker.read());
        assertSame(ticker, ticker.advance(10));
        assertEquals(10, ticker.read());
        ticker.advance(1, TimeUnit.MILLISECONDS);
        assertEquals(1000010L, ticker.read());
        ticker.advance(Duration.ofMillis(1));
        assertEquals(2000010L, ticker.read());
      }
    
      public void testAutoIncrementStep_returnsSameInstance() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 14:40:46 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PropertiesAsMap.java

                    return new Iterator<Entry<String, String>>() {
                        Entry<String, String> next;
    
                        {
                            advance();
                        }
    
                        private void advance() {
                            next = null;
                            while (iterator.hasNext()) {
                                Entry<Object, Object> e = iterator.next();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

              if (advanceTo(nextEntry) || nextInChain()) {
                return true;
              }
            }
          }
          return false;
        }
    
        /**
         * Advances to the given entry. Returns {@code true} if the entry was valid, {@code false} if it
         * should be skipped.
         */
        boolean advanceTo(E entry) {
          try {
            K key = entry.getKey();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/CacheBuilder.java

       * uncommon to specify {@code concurrencyLevel(1)} in order to achieve more deterministic eviction
       * behavior.
       *
       * <p>Note that future implementations may abandon segment locking in favor of more advanced
       * concurrency controls.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
       * @throws IllegalArgumentException if {@code concurrencyLevel} is nonpositive
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
Back to top