Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 864 for Value (0.12 sec)

  1. guava/src/com/google/common/collect/DiscreteDomain.java

      /**
       * Returns the unique greatest value of type {@code C} that is less than {@code value}, or {@code
       * null} if none exists. Inverse operation to {@link #next}.
       *
       * @param value any value of type {@code C}
       * @return the greatest value less than {@code value}, or {@code null} if {@code value} is {@code
       *     minValue()}
       */
      @CheckForNull
      public abstract C previous(C value);
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheBuilderSpec.java

    public final class CacheBuilderSpec {
      /** Parses a single value. */
      private interface ValueParser {
        void parse(CacheBuilderSpec spec, String key, @CheckForNull String value);
      }
    
      /** Splits each key-value pair. */
      private static final Splitter KEYS_SPLITTER = Splitter.on(',').trimResults();
    
      /** Splits the key from the value. */
      private static final Splitter KEY_VALUE_SPLITTER = Splitter.on('=').trimResults();
    
    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)
  3. guava/src/com/google/common/collect/HashBiMap.java

        return put(key, value, false);
      }
    
      @CheckForNull
      private V put(@ParametricNullness K key, @ParametricNullness V value, boolean force) {
        int keyHash = smearedHash(key);
        int valueHash = smearedHash(value);
    
        BiEntry<K, V> oldEntryForKey = seekByKey(key, keyHash);
        if (oldEntryForKey != null
            && valueHash == oldEntryForKey.valueHash
            && Objects.equal(value, oldEntryForKey.value)) {
    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)
  4. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        Double.NEGATIVE_INFINITY,
        -Double.MAX_VALUE,
        (double) Long.MIN_VALUE,
        (double) Integer.MIN_VALUE,
        -Math.PI,
        -1.0,
        -Double.MIN_VALUE,
        -0.0,
        +0.0,
        Double.MIN_VALUE,
        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
        Double.NaN,
        Float.MAX_VALUE,
      };
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

      }
    
      @Override
      public V get(Object key) {
        checkNotNull(key);
        Timestamped<V> value = cachingHashMap.get(key);
    
        if (value == null) {
          statsCounter.recordMisses(1);
          return null;
        } else if (!isExpired(value)) {
          statsCounter.recordHits(1);
          value.updateTimestamp();
          return value.getValue();
        } else {
          statsCounter.recordEviction();
          statsCounter.recordMisses(1);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/HashBiMap.java

        return findEntry(key, keyHash, hashTableKToV, nextInBucketKToV, keys);
      }
    
      /** Given a value, returns the index of the entry in the tables, or ABSENT if not found. */
      int findEntryByValue(@CheckForNull Object value) {
        return findEntryByValue(value, Hashing.smearedHash(value));
      }
    
      /**
       * Given a value and its hash, returns the index of the entry in the tables, or ABSENT if not
       * found.
       */
    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)
  7. android/guava/src/com/google/common/cache/LoadingCache.java

      /**
       * 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.
       *
       * <p>If another call to {@link #get} or {@link #getUnchecked} is currently loading the value for
       * {@code key}, simply waits for that thread to finish and returns its loaded value. Note that
    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)
  8. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return generateListMultimap(key, value);
      }
    
      @Generates
      static <K, V> ImmutableMultimap<K, V> generateImmutableMultimap(K key, V value) {
        return ImmutableMultimap.of(key, value);
      }
    
      @Generates
      static <K, V> ListMultimap<K, V> generateListMultimap(@Nullable K key, @Nullable V value) {
        return generateArrayListMultimap(key, value);
      }
    
      @Generates
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TableCollectors.java

          return column;
        }
    
        @Override
        public V getValue() {
          return value;
        }
    
        void merge(V value, BinaryOperator<V> mergeFunction) {
          checkNotNull(value, "value");
          this.value = checkNotNull(mergeFunction.apply(this.value, value), "mergeFunction.apply");
        }
      }
    
      private static <R extends @Nullable Object, C extends @Nullable Object, V> void mergeTables(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimap.java

      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the value
       * {@code value}.
       */
      boolean containsValue(@CompatibleWith("V") @CheckForNull Object value);
    
      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the key {@code
       * key} and the value {@code value}.
       */
      boolean containsEntry(
          @CompatibleWith("K") @CheckForNull Object key,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
Back to top