Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 156 for getValue (0.48 seconds)

  1. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            assertEquals(1, chain.changePasswordCalls.size());
            assertEquals("testuser", chain.changePasswordCalls.get(0).getKey());
            assertEquals("newpassword123", chain.changePasswordCalls.get(0).getValue());
        }
    
        // Test changePassword with failure
        @Test
        public void test_changePassword_failure() {
            TestAuthenticationChain chain = new TestAuthenticationChain();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableMapValues.java

          @Override
          public V next() {
            return entryItr.next().getValue();
          }
        };
      }
    
      @Override
      @GwtIncompatible // Spliterator
      public Spliterator<V> spliterator() {
        return CollectSpliterators.map(
            map.entrySet().spliterator(),
            Spliterator.ORDERED | Spliterator.IMMUTABLE | Spliterator.NONNULL,
            Entry::getValue);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt

      }
    
      override fun isValid(): Boolean = delegate!!.isValid
    
      override fun putValue(
        s: String,
        o: Any,
      ) {
        delegate!!.putValue(s, o)
      }
    
      override fun getValue(s: String): Any = delegate!!.getValue(s)
    
      override fun removeValue(s: String) {
        delegate!!.removeValue(s)
      }
    
      override fun getValueNames(): Array<String> = delegate!!.valueNames
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  5. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          }
          alertListenerIfPresent(key, oldValue.getValue(), RemovalCause.REPLACED);
          return oldValue.getValue();
        }
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable V remove(@Nullable Object key) {
        synchronized (lock) {
          Timestamped<V> stamped = cachingHashMap.remove(key);
          if (stamped != null) {
            V value = stamped.getValue();
            // `key` was in the cache, so it's a K.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> Stream.of(mapEntry("one", 1), mapEntry("one", 11)).collect(collector));
      }
    
      public void testToImmutableSortedMapMerging() {
        Collector<Entry<String, Integer>, ?, ImmutableSortedMap<String, Integer>> collector =
            toImmutableSortedMap(Entry::getKey, Entry::getValue, Integer::sum);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  7. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/CapacityEnforcingMap.java

        if ((removalListener != null) && removal) {
          removalListener.onRemoval(
              RemovalNotification.create(
                  ignored.getKey(), ignored.getValue().getValue(), RemovalCause.SIZE));
        }
        statsCounter.recordEviction();
        return removal;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

                .isSameInstanceAs(entry.getValue());
            Object newKey = new Object();
            assertThat(cache.asMap().putIfAbsent(newKey, entry.getValue())).isNull();
            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertThat(cache.getUnchecked(entry.getKey())).isEqualTo(entry.getValue());
            assertThat(cache.getUnchecked(newKey)).isEqualTo(entry.getValue());
            // don't let the new entry get GCed
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

            acquireSharedInterruptibly(-1);
            return getValue();
          }
    
          /**
           * Implementation of the actual value retrieval. Will return the value on success, an
           * exception on failure, a cancellation on cancellation, or an illegal state if the
           * synchronizer is in an invalid state.
           */
          private V getValue() throws CancellationException, ExecutionException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

              Entry<K, V> e = (Entry<K, V>) o;
              e.setValue(value); // muhahaha!
    
              return equal(this.getKey(), e.getKey()) && equal(this.getValue(), e.getValue());
            }
            return false;
          }
    
          @Override
          public int hashCode() {
            K k = getKey();
            V v = getValue();
            return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
Back to Top