Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,303 for Map (0.01 sec)

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

        Map<Integer, String> map = CompactLinkedHashMap.create();
        map.put(1, "a");
        map.put(4, "b");
        map.put(3, "d");
        map.put(2, "c");
        map.remove(4);
        testHasMapEntriesInOrder(map, 1, "a", 3, "d", 2, "c");
      }
    
      public void testInsertionOrderAfterRemoveLastEntry() {
        Map<Integer, String> map = CompactLinkedHashMap.create();
        map.put(1, "a");
        map.put(4, "b");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

    import java.lang.annotation.RetentionPolicy;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@code Map}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MapFeature implements Feature<Map> {
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            set.clear();
        }
    
        private void assertFieldLogs(Map<String, List<String>> fieldLogMap) {
            @SuppressWarnings("unchecked")
            Map<String, List<String>> map = (Map<String, List<String>>) getMockRequest().getAttribute(Constants.FIELD_LOGS);
            if (fieldLogMap != null) {
                assertEquals(fieldLogMap, map);
            }
            map.clear();
        }
    
        private QueryContext buildQuery(String query) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  4. dbflute_fess/dfprop/esfluteMap.dfprop

            ; fess_log.click_log = map:{
                ; package = log
                ; esclientDiFile = esclient.xml
                ; esfluteDiFile = esflute_log.xml
                ; mappingMap = map:{
                    ; type = map:{
                        ; date@dateOptionalTime = LocalDateTime
                    }
                }
            }
            ; fess_log.favorite_log = map:{
                ; package = log
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            }
            return null;
        }
    
        protected Map<String, Object> ingest(final AccessResult<String> accessResult, final Map<String, Object> map) {
            if (ingestFactory == null) {
                return map;
            }
            Map<String, Object> target = map;
            for (final Ingester ingester : ingestFactory.getIngesters()) {
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

      }
    
      public void testTransformSingletonMapEquality() {
        Map<String, String> map =
            transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction());
        Map<String, String> expected = ImmutableMap.of("a", "1");
        assertMapsEqual(expected, map);
        assertEquals(expected.get("a"), map.get("a"));
      }
    
      public void testTransformIdentityFunctionEquality() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertEquals(2, map.size());
    
        assertEquals(0, (int) map.getInstance(int.class));
        assertEquals(1, (int) map.getInstance(Integer.class));
    
        assertEquals(0, (int) map.putInstance(int.class, null));
        assertEquals(1, (int) map.putInstance(Integer.class, null));
    
        assertNull(map.getInstance(int.class));
        assertNull(map.getInstance(Integer.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        map.put("bar", 2);
        map.put("quux", 3);
    
        map.remove("bar");
        assertThat(map.entrySet())
            .containsExactly(immutableEntry("foo", 1), immutableEntry("quux", 3))
            .inOrder();
      }
    
      public void testInsertionOrderAfterRemoveLast() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    
        map.remove("quux");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

            final Map<String, Object> map = new HashMap<String, Object>();
    
            assertTrue(0.0f == docBoostMatcher.getValue(map));
    
            map.put("data1", 20);
            assertTrue(docBoostMatcher.match(map));
    
            map.put("data1", 5);
            assertFalse(docBoostMatcher.match(map));
    
            map.remove("data1");
            assertFalse(docBoostMatcher.match(map));
    
            map.put("data2", 5);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

        assertThat(map.needsAllocArrays()).isTrue();
        assertThat(map.entries).isNull();
        assertThat(map.keys).isNull();
        assertThat(map.values).isNull();
    
        map.put(1, "1");
        assertThat(map.needsAllocArrays()).isFalse();
        assertThat(map.entries).hasLength(CompactHashing.DEFAULT_SIZE);
        assertThat(map.keys).hasLength(CompactHashing.DEFAULT_SIZE);
        assertThat(map.values).hasLength(CompactHashing.DEFAULT_SIZE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top