Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 232 for getValue (0.27 sec)

  1. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            assertSame(entry.getValue(), cache.asMap().putIfAbsent(entry.getKey(), newValue));
            Object newKey = new Object();
            assertNull(cache.asMap().putIfAbsent(newKey, entry.getValue()));
            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertEquals(entry.getValue(), cache.getUnchecked(entry.getKey()));
            assertEquals(entry.getValue(), cache.getUnchecked(newKey));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            assertSame(entry.getValue(), cache.asMap().putIfAbsent(entry.getKey(), newValue));
            Object newKey = new Object();
            assertNull(cache.asMap().putIfAbsent(newKey, entry.getValue()));
            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertEquals(entry.getValue(), cache.getUnchecked(entry.getKey()));
            assertEquals(entry.getValue(), cache.getUnchecked(newKey));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

      }
    
      // https://youtrack.jetbrains.com/issue/KT-58242/. Crash when getValue result (null) is unboxed
      @J2ktIncompatible
      public void testToTableNullValues() {
        Collector<Cell<String, String, Integer>, ?, Table<String, String, Integer>> collector =
            TableCollectors.toTable(
                Cell::getRowKey,
                Cell::getColumnKey,
                Cell::getValue,
                () -> {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeRangeMap.java

          Range<K> range, V value, @CheckForNull Entry<Cut<K>, RangeMapEntry<K, V>> entry) {
        if (entry != null
            && entry.getValue().getKey().isConnected(range)
            && entry.getValue().getValue().equals(value)) {
          return range.span(entry.getValue().getKey());
        }
        return range;
      }
    
      @Override
      public void putAll(RangeMap<K, ? extends V> rangeMap) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                    try {
                        list.add(new LabelTypePattern(labelType.getValue(), includedPaths, excludedPaths));
                    } catch (final Exception e) {
                        logger.warn("Failed to create a matching pattern of a label: {}, includedPaths:{}, excludedPaths:{}",
                                labelType.getValue(), includedPaths, excludedPaths, e);
                    }
                }
            }
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.7K bytes
    - Viewed (2)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

                this.bannedPrefix = bannedPrefix;
                this.newPrefix = newPrefix;
                this.problems = problems;
            }
    
            @Override
            public Object getValue(String expression) {
                Object value = valueSource.getValue(expression);
    
                if (value != null && expression.startsWith(bannedPrefix)) {
                    String msg = "The expression ${" + expression + "} is deprecated.";
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/StandardTable.java

              if (entry.getValue().containsKey(columnKey)) {
                @WeakOuter
                class EntryImpl extends AbstractMapEntry<R, V> {
                  @Override
                  public R getKey() {
                    return entry.getKey();
                  }
    
                  @Override
                  public V getValue() {
                    return entry.getValue().get(columnKey);
                  }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 29.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeRangeSet.java

        if (ceilingEntry != null
            && ceilingEntry.getValue().isConnected(range)
            && !ceilingEntry.getValue().intersection(range).isEmpty()) {
          return true;
        }
        Entry<Cut<C>, Range<C>> priorEntry = rangesByLowerBound.lowerEntry(range.lowerBound);
        return priorEntry != null
            && priorEntry.getValue().isConnected(range)
            && !priorEntry.getValue().intersection(range).isEmpty();
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 32.5K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          return null;
        }
        alertListenerIfPresent(key, oldValue.getValue(), RemovalCause.REPLACED);
        return oldValue.getValue();
      }
    
      @CanIgnoreReturnValue
      @Override
      public V remove(Object key) {
        Timestamped<V> stamped = cachingHashMap.remove(key);
        if (stamped != null) {
          V value = stamped.getValue();
          // `key` was in the cache, so it's a K.
    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)
  10. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

           * currentEntry (which we never subsequently clear).
           */
          int frequency = requireNonNull(currentEntry).getValue().get();
          if (frequency <= 0) {
            throw new ConcurrentModificationException();
          }
          if (currentEntry.getValue().addAndGet(-1) == 0) {
            entryIterator.remove();
          }
          size--;
          canRemove = false;
        }
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 10.4K bytes
    - Viewed (0)
Back to top