Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,829 for this (0.27 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

            put(entry);
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        public Builder<K, V> orderEntriesByValue(Comparator<? super V> valueComparator) {
          checkState(this.valueComparator == null, "valueComparator was already set");
          this.valueComparator = checkNotNull(valueComparator, "valueComparator");
          return this;
        }
    
        @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       */
      // TODO(user): "This is equivalent to
      // {@code createWithCapacity(permitsPerSecond, 1, TimeUnit.SECONDS)}".
      public static RateLimiter create(double permitsPerSecond) {
        /*
         * The default RateLimiter configuration can save the unused permits of up to one second. This
         * is to avoid unnecessary stalls in situations like this: A RateLimiter of 1qps, and 4 threads,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeMultiset.java

          checkArgument(elemCount > 0);
          this.elem = elem;
          this.elemCount = elemCount;
          this.totalCount = elemCount;
          this.distinctElements = 1;
          this.height = 1;
          this.left = null;
          this.right = null;
        }
    
        /** Constructor for the header node. */
        AvlNode() {
          this.elem = null;
          this.elemCount = 1;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LoadingCache.java

      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this?
      V get(K key) throws ExecutionException;
    
      /**
       * Returns the value associated with {@code key} in this cache, first loading that value if
       * necessary. No observable state associated with this cache is modified until loading completes.
       * Unlike {@link #get}, this method does not throw a checked exception, and thus should only be
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SortedMultiset.java

       * empty.
       */
      @CheckForNull
      Entry<E> lastEntry();
    
      /**
       * Returns and removes the entry associated with the lowest element in this multiset, or returns
       * {@code null} if this multiset is empty.
       */
      @CheckForNull
      Entry<E> pollFirstEntry();
    
      /**
       * Returns and removes the entry associated with the greatest element in this multiset, or returns
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Monitor.java

        @CheckForNull
        Guard next;
    
        protected Guard(Monitor monitor) {
          this.monitor = checkNotNull(monitor, "monitor");
          this.condition = monitor.lock.newCondition();
        }
    
        /**
         * Evaluates this guard's boolean condition. This method is always called with the associated
         * monitor already occupied. Implementations of this method must depend only on state protected
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        checkNotNull(arguments);
        assertEquals(false, invokeMethod("hasQueuedThread", this));
        sendRequest(methodName, arguments);
        Thread.sleep(DUE_DILIGENCE_MILLIS);
        assertEquals(true, invokeMethod("hasQueuedThread", this));
        assertNull(responseQueue.poll());
      }
    
      /**
       * Causes this thread to call the named method, and asserts that this thread thereby waits on the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

      private final int end; // exclusive
    
      private ImmutableIntArray(int[] array) {
        this(array, 0, array.length);
      }
    
      private ImmutableIntArray(int[] array, int start, int end) {
        this.array = array;
        this.start = start;
        this.end = end;
      }
    
      /** Returns the number of values in this array. */
      public int length() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingMultiset.java

       * #iterator} to forward to this implementation.
       *
       * @since 7.0
       */
      protected Iterator<E> standardIterator() {
        return Multisets.iteratorImpl(this);
      }
    
      /**
       * A sensible, albeit inefficient, definition of {@link #size} in terms of {@link #entrySet}. If
       * you override {@link #entrySet}, you may wish to override {@link #size} to forward to this
       * implementation.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ComparisonChain.java

     *
     * <pre>{@code
     * public int compareTo(Foo that) {
     *   return ComparisonChain.start()
     *       .compare(this.aString, that.aString)
     *       .compare(this.anInt, that.anInt)
     *       .compare(this.anEnum, that.anEnum, Ordering.natural().nullsLast())
     *       .result();
     * }
     * }</pre>
     *
     * <p>The value of this expression will have the same sign as the <i>first nonzero</i> comparison
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
Back to top