Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 151 for already (0.15 sec)

  1. guava/src/com/google/common/cache/CacheBuilderSpec.java

              "initial capacity was already set to %s",
              spec.initialCapacity);
          spec.initialCapacity = value;
        }
      }
    
      /** Parse maximumSize */
      static class MaximumSizeParser extends LongParser {
        @Override
        protected void parseLong(CacheBuilderSpec spec, long value) {
          checkArgument(
              spec.maximumSize == null, "maximum size was already set to %s", spec.maximumSize);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ComparisonChain.java

       * already been determined.
       */
      public abstract <T extends @Nullable Object> ComparisonChain compare(
          @ParametricNullness T left, @ParametricNullness T right, Comparator<T> comparator);
    
      /**
       * Compares two {@code int} values as specified by {@link Ints#compare}, <i>if</i> the result of
       * this comparison chain has not already been determined.
       */
    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)
  3. android/guava/src/com/google/common/collect/Comparators.java

     * majority of usages of {@code Ordering} can be written using only built-in JDK APIs. This class is
     * intended to "fill the gap" and provide those features of {@code Ordering} not already provided by
     * the JDK.
     *
     * @since 21.0
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Comparators {
      private Comparators() {}
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashBiMap.java

        if (force) {
          if (valueEntry != ABSENT) {
            removeEntryValueHashKnown(valueEntry, valueHash);
          }
        } else {
          checkArgument(valueEntry == ABSENT, "Value already present: %s", value);
        }
    
        ensureCapacity(size + 1);
        keys[size] = key;
        values[size] = value;
    
        insertIntoTableKToV(size, keyHash);
        insertIntoTableVToK(size, valueHash);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/HashBiMap.java

        if (oldEntryForValue != null) {
          if (force) {
            delete(oldEntryForValue);
          } else {
            throw new IllegalArgumentException("value already present: " + value);
          }
        }
    
        BiEntry<K, V> newEntry = new BiEntry<>(key, keyHash, value, valueHash);
        if (oldEntryForKey != null) {
          delete(oldEntryForKey);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

         * actually reading from the fields in any case in which they might be null (as proven by the
         * requireNonNull checks below). Plus, we're *already* lying here, since newHeader passes a null
         * key and value, which we pass to the superconstructor, even though the key and value type for
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

       */
      @Override
      public void execute(Runnable task) {
        checkNotNull(task);
        Runnable submittedTask;
        long oldRunCount;
        synchronized (queue) {
          // If the worker is already running (or execute() on the delegate returned successfully, and
          // the worker has yet to start) then we don't need to start the worker.
          if (workerRunningState == RUNNING || workerRunningState == QUEUED) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

         * by {@link Enum#getDeclaringClass()} and {@link Enum#name()} are used to describe the lock in
         * warning or exception output.
         *
         * @throws IllegalStateException If the factory has already created a {@code Lock} with the
         *     specified rank.
         */
        public ReentrantLock newReentrantLock(E rank, boolean fair) {
          return policy == Policies.DISABLED
              ? new ReentrantLock(fair)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        }
    
        /** Adds a key-value mapping to the built multimap if it is not already present. */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(K key, V value) {
          super.put(key, value);
          return this;
        }
    
        /**
         * Adds an entry to the built multimap if it is not already present.
         *
         * @since 11.0
         */
        @CanIgnoreReturnValue
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Joiner.java

          }
    
          @Override
          public Joiner useForNull(String nullText) {
            throw new UnsupportedOperationException("already specified useForNull");
          }
    
          @Override
          public Joiner skipNulls() {
            throw new UnsupportedOperationException("already specified useForNull");
          }
        };
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
Back to top