Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 97 for setValue5 (0.09 sec)

  1. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        assertEquals("bar", entry.getKey());
        assertEquals(1, (int) entry.getValue());
        entry = entries.next();
        assertEquals("foo", entry.getKey());
        assertEquals(2, (int) entry.getValue());
        entry.setValue(4);
        entry = entries.next();
        assertEquals("bar", entry.getKey());
        assertEquals(3, (int) entry.getValue());
        assertFalse(entries.hasNext());
        entries.remove();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/ArrayMap.java

         *
         * @param index
         *            インデックス
         * @param value
         *            値
         */
        public void setAt(final int index, final V value) {
            getEntryAt(index).setValue(value);
        }
    
        @Override
        public V remove(final Object key) {
            final Entry<K, V> e = removeMap(key);
            if (e != null) {
                final V value = e.value;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/bsbhv/BsRequestHeaderBhv.java

                result.setUpdatedBy(DfTypeUtil.toString(source.get("updatedBy")));
                result.setUpdatedTime(DfTypeUtil.toLong(source.get("updatedTime")));
                result.setValue(DfTypeUtil.toString(source.get("value")));
                result.setWebConfigId(DfTypeUtil.toString(source.get("webConfigId")));
                return updateEntity(source, result);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

                    enqueueNotification(
                        key, hash, entryValue, valueReference.getWeight(), RemovalCause.COLLECTED);
                    setValue(e, key, value, now);
                    newCount = this.count; // count remains unchanged
                  } else {
                    setValue(e, key, value, now);
                    newCount = this.count + 1;
                  }
                  this.count = newCount; // write-volatile
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/Helpers.java

            return value;
          }
    
          @Override
          public V setValue(V value) {
            throw new UnsupportedOperationException();
          }
    
          @SuppressWarnings("unchecked")
          @Override
          public boolean equals(@Nullable Object o) {
            if (o instanceof Entry) {
              Entry<K, V> e = (Entry<K, V>) o;
              e.setValue(value); // muhahaha!
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            Properties props = new Properties();
            props.put("key", "${env.testKey}");
            Xpp3Dom configurationChild = new Xpp3Dom("jdkHome");
            configurationChild.setValue("${env.testKey}");
            Xpp3Dom configuration = new Xpp3Dom("configuration");
            configuration.addChild(configurationChild);
            ToolchainModel toolchain = new ToolchainModel();
            toolchain.setType("TYPE");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                for (DispatcherMeta.Field field : meta.fields()) {
                    ConfigProperty property = new ConfigProperty();
                    property.setName(field.getKey());
                    property.setValue(result.get(field.getKey()).getResult());
                    dispatcherConfig.addProperty(property);
                }
                if (!dispatcherConfig.getProperties().isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

                 * produces immutable entries.
                 *
                 * TODO(cpovirk): Consider making StandardDescendingMap return a ForwardingEntry that
                 * supports setValue().
                 */
                .suppressing(
                    MapEntrySetTester.getSetValueMethod(),
                    MapEntrySetTester.getSetValueWithNullValuesAbsentMethod(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                key = this.connection.getHeaderFieldKey(i);
                value = this.connection.getHeaderField(i);
            }
            for ( Entry<String, List<String>> entry : map.entrySet() ) {
                entry.setValue(Collections.unmodifiableList(entry.getValue()));
            }
            return ( this.headerFields = Collections.unmodifiableMap(map) );
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        assertThrows(UnsupportedOperationException.class, () -> map.putAll(ImmutableMap.of("b", "2")));
    
        assertThrows(
            UnsupportedOperationException.class,
            () -> map.entrySet().iterator().next().setValue("one"));
      }
    
      public void testTransformRemoveEntry() {
        Map<String, Integer> underlying = Maps.newHashMap();
        underlying.put("a", 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top