Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 451 for GetValue (0.21 sec)

  1. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

            Map<String, String> map = new HashMap<String, String>();
            map.put("key1", "value1");
            map.put("key2", "value2");
            StreamUtil.stream(map).of(s -> s.forEach(m -> assertEquals(map.get(m.getKey()), m.getValue())));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java

          new Predicate<Entry<String, Integer>>() {
            @Override
            public boolean apply(Entry<String, Integer> entry) {
              return !"badkey".equals(entry.getKey()) && 55556 != entry.getValue();
            }
          };
    
      public MultimapsFilterEntriesAsMapTest() {
        super(true, true, false);
      }
    
      private Multimap<String, Integer> createMultimap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2K bytes
    - Viewed (0)
  3. 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());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java

            for (final Map.Entry<String, Map<String, AccessResultImpl<Long>>> entry : sessionMap.entrySet()) {
                if (entry.getValue() != null) {
                    final AccessResultImpl<Long> ar = entry.getValue().get(url);
                    if (ar != null) {
                        acList.add(ar);
                    }
                }
            }
            // TODO order
            return acList;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                          Cell<String, Integer, Character> cell =
                              (Cell<String, Integer, Character>) element;
                          table.put(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
                        }
                        return table.cellSet();
                      }
    
                      @Override
                      Table<String, Integer, Character> createTable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                          Cell<String, Integer, Character> cell =
                              (Cell<String, Integer, Character>) element;
                          table.put(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
                        }
                        return table.cellSet();
                      }
    
                      @Override
                      Table<String, Integer, Character> createTable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        assertEquals(null, entry.getKey());
        assertThat(entry.getValue()).containsExactly(7, 3, 1);
        entry = iterator.next();
        assertEquals("tree", entry.getKey());
        assertThat(entry.getValue()).containsExactly(null, 0);
        entry = iterator.next();
        assertEquals("google", entry.getKey());
        assertThat(entry.getValue()).containsExactly(6, 2);
      }
    
      public void testOrderedEntries() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                                        final String id = DocumentUtil.getValue(doc, fessConfig.getIndexFieldId(), String.class);
                                        final String docId = DocumentUtil.getValue(doc, fessConfig.getIndexFieldDocId(), String.class);
                                        if (id != null && docId != null && clickCountMap.containsKey(docId)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CharSourceTester.java

        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          if (testAsByteSource) {
            suite.addTest(
                suiteForBytes(factory, entry.getValue().getBytes(UTF_8), name, entry.getKey(), true));
          } else {
            suite.addTest(suiteForString(factory, entry.getValue(), name, entry.getKey()));
          }
        }
        return suite;
      }
    
      static TestSuite suiteForBytes(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

      public void testPutDuplicateValue() {
        List<Entry<K, V>> entries = copyToList(multimap().entries());
    
        for (Entry<K, V> entry : entries) {
          resetContainer();
    
          K k = entry.getKey();
          V v = entry.getValue();
    
          List<V> values = multimap().get(k);
          List<V> expectedValues = copyToList(values);
    
          assertTrue(multimap().put(k, v));
          expectedValues.add(v);
          assertGet(k, expectedValues);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top