Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 582 for getValue (0.21 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

        for (Entry<K, V> entry : expected) {
          assertEquals(
              "Wrong key for value " + entry.getValue(),
              entry.getKey(),
              getMap().inverse().get(entry.getValue()));
        }
      }
    
      @Override
      protected void expectMissing(Entry<K, V>... entries) {
        super.expectMissing(entries);
        for (Entry<K, V> entry : entries) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

        for (Entry<K, V> entry : expected) {
          assertEquals(
              "Wrong key for value " + entry.getValue(),
              entry.getKey(),
              getMap().inverse().get(entry.getValue()));
        }
      }
    
      @Override
      protected void expectMissing(Entry<K, V>... entries) {
        super.expectMissing(entries);
        for (Entry<K, V> entry : entries) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractMapEntry.java

          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equal(this.getKey(), that.getKey())
              && Objects.equal(this.getValue(), that.getValue());
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        K k = getKey();
        V v = getValue();
        return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
      }
    
      /** Returns a string representation of the form {@code {key}={value}}. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Aug 05 00:40:25 GMT 2021
    - 2K bytes
    - Viewed (0)
  4. 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)
  5. maven-core/src/test/java/org/apache/maven/project/harness/PomTestWrapper.java

            return context.getValue(expression) != null;
        }
    
        public Object getValue(String expression) {
            try {
                return context.getValue(expression);
            } catch (JXPathNotFoundException e) {
                return null;
            }
        }
    
        public boolean xPathExpressionEqualsValue(String expression, String value) {
            return context.getValue(expression) != null
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  6. 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)
  7. guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java

          V oldValue = forwardDelegate.putIfAbsent(e.getKey(), e.getValue());
          if (oldValue != null) {
            throw conflictException("key", e.getKey() + "=" + oldValue, entryArray[i]);
          }
          K oldKey = backwardDelegate.putIfAbsent(e.getValue(), e.getKey());
          if (oldKey != null) {
            throw conflictException("value", oldKey + "=" + e.getValue(), entryArray[i]);
          }
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ArrayTable.java

            }
    
            @Override
            @ParametricNullness
            public V getValue() {
              return ArrayMap.this.getValue(index);
            }
    
            @Override
            @ParametricNullness
            public V setValue(@ParametricNullness V value) {
              return ArrayMap.this.setValue(index, value);
            }
          };
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        assertEquals(4, (int) entrya.getValue());
        assertEquals(3, (int) entryb.getValue());
    
        assertTrue(multimap.put("foo", 5));
        assertTrue(multimap.containsEntry("foo", 5));
        assertTrue(multimap.containsEntry("foo", 4));
        assertTrue(multimap.containsEntry("bar", 3));
        assertEquals(4, (int) entrya.getValue());
        assertEquals(3, (int) entryb.getValue());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/exbhv/SearchLogBhv.java

                        if (e.getValue() instanceof String[]) {
                            final String[] values = (String[]) e.getValue();
                            for (final String v : values) {
                                result.getSearchFieldLogList().add(new Pair<>(e.getKey(), v));
                            }
                        } else if (e.getValue() instanceof List) {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top