Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 216 for getValue (0.17 sec)

  1. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractBiMap.java

          return delegate;
        }
    
        @Override
        public V setValue(V value) {
          checkValue(value);
          // Preconditions keep the map and inverse consistent.
          checkState(entrySet().contains(this), "entry no longer in map");
          // similar to putInBothMaps, but set via entry
          if (Objects.equal(value, getValue())) {
            return value;
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 14.6K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                            @Override
                            public String setValue(String value) {
                              checkNotNull(value);
                              return next.setValue(value);
                            }
    
                            @Override
                            public String getValue() {
                              return next.getValue();
                            }
    
                            @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            }
            Iterator entries = map.entrySet().iterator();
            while (entries.hasNext()) {
                Map.Entry entry = (Map.Entry) entries.next();
                entry.setValue(Collections.unmodifiableList((List)
                        entry.getValue()));
            }
            return (headerFields = Collections.unmodifiableMap(map));
        }
    
        public Map getHeaderFields() {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

                if (modelProp != null) {
                    ActivationProperty prop = ActivationProperty.newBuilder()
                            .name(modelProp.getName())
                            .value(modelProp.getValue())
                            .build();
                    activation.property(prop);
                }
    
                org.apache.maven.api.model.ActivationOS modelOs = modelActivation.getOs();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/DenseImmutableTable.java

          int columnIndex = requireNonNull(columnKeyToIndex.get(columnKey));
          V existingValue = values[rowIndex][columnIndex];
          checkNoDuplicate(rowKey, columnKey, existingValue, cell.getValue());
          values[rowIndex][columnIndex] = cell.getValue();
          rowCounts[rowIndex]++;
          columnCounts[columnIndex]++;
          cellRowIndices[i] = rowIndex;
          cellColumnIndices[i] = columnIndex;
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
  7. 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 May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.7K bytes
    - Viewed (2)
  8. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 18K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          for (Entry<K, V> entry : entrySet) {
            assertTrue(map.containsKey(entry.getKey()));
            assertTrue(map.containsValue(entry.getValue()));
            int expectedHash =
                (entry.getKey() == null ? 0 : entry.getKey().hashCode())
                    ^ (entry.getValue() == null ? 0 : entry.getValue().hashCode());
            assertEquals(expectedHash, entry.hashCode());
            expectedEntrySetHash += expectedHash;
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (2)
  10. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        assertEquals("foo", entry.getKey());
        assertThat(entry.getValue()).containsExactly(1, 3, 7);
        entry = iterator.next();
        assertEquals("google", entry.getKey());
        assertThat(entry.getValue()).containsExactly(2, 6);
        entry = iterator.next();
        assertEquals("tree", entry.getKey());
        assertThat(entry.getValue()).containsExactly(0, 4);
      }
    
      public void testOrderedEntries() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top