Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 550 for getValue4 (0.05 seconds)

  1. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

          this.nextInValueBucket = nextInValueBucket;
        }
    
        boolean matchesValue(@Nullable Object v, int smearedVHash) {
          return smearedValueHash == smearedVHash && Objects.equals(getValue(), v);
        }
      }
    
      private static final int DEFAULT_KEY_CAPACITY = 16;
      private static final int DEFAULT_VALUE_SET_CAPACITY = 2;
      @VisibleForTesting static final double VALUE_SET_LOAD_FACTOR = 1.0;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableMultimap.java

         * Adds an entry to the built multimap.
         *
         * @since 11.0
         */
        @CanIgnoreReturnValue
        public Builder<K, V> put(Entry<? extends K, ? extends V> entry) {
          return put(entry.getKey(), entry.getValue());
        }
    
        /**
         * Adds entries to the built multimap.
         *
         * @since 19.0
         */
        @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/Helpers.java

              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());
          }
    
          @Override
    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)
  4. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

                if (paramMap != null) {
                    for (Map.Entry<String, Object> entry : paramMap.entrySet()) {
                        String key = entry.getKey();
                        Object value = entry.getValue();
    
                        // Handle nested properties
                        if (key.contains(".")) {
                            // Simple nested property handling for testing
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  5. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                              return next.setValue(value);
                            }
    
                            @Override
                            public String getValue() {
                              return next.getValue();
                            }
    
                            @Override
                            public String getKey() {
                              return next.getKey();
                            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        assertThat(entry.getKey()).isNull();
        assertThat(entry.getValue()).containsExactly(7, 3, 1);
        entry = iterator.next();
        assertThat(entry.getKey()).isEqualTo("tree");
        assertThat(entry.getValue()).containsExactly(null, 0);
        entry = iterator.next();
        assertThat(entry.getKey()).isEqualTo("google");
        assertThat(entry.getValue()).containsExactly(6, 2);
      }
    
      public void testOrderedEntries() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/ByteSourceTester.java

        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          if (testAsCharSource) {
            suite.addTest(suiteForString(factory, entry.getValue(), name, entry.getKey()));
          } else {
            suite.addTest(
                suiteForBytes(factory, entry.getValue().getBytes(UTF_8), name, entry.getKey(), true));
          }
        }
        return suite;
      }
    
      static TestSuite suiteForString(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

        for (K key : sampleKeys()) {
          List<V> expectedValues = new ArrayList<>();
          for (Entry<K, V> entry : getSampleElements()) {
            if (entry.getKey().equals(key)) {
              expectedValues.add(entry.getValue());
            }
          }
    
          Collection<V> collection = multimap().asMap().get(key);
          if (expectedValues.isEmpty()) {
            assertNull(collection);
          } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                ArgumentCaptor<Smb2ReadRequest> cap = ArgumentCaptor.forClass(Smb2ReadRequest.class);
                verify(mockTree).send(cap.capture(), any(RequestParam.class));
                Smb2ReadRequest req = cap.getValue();
    
                // Reflectively inspect the private 'offset' field to assert it used the advanced fp
                Field offField = Smb2ReadRequest.class.getDeclaredField("offset");
                offField.setAccessible(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            ArgumentCaptor<CommonServerMessageBlockRequest> reqCap = ArgumentCaptor.forClass(CommonServerMessageBlockRequest.class);
            verify(tree).send(reqCap.capture(), any(), any(), any());
            assertTrue(reqCap.getValue() instanceof Smb2ChangeNotifyRequest, "SMB2 request must be used");
            verify(tree, times(1)).close(); // try-with-resources must close
            verify(handle, never()).markClosed();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
Back to Top