Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 920 for maps (0.01 sec)

  1. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            assertThat(map.isEmpty(), is(false));
            assertThat(map.get(Foo.class.getTypeParameters()[0]), is(sameClass(Object.class)));
        }
    
        /**
         * @throws Exception
         */
        public void testGenericMethod() throws Exception {
            final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Fuga.class);
            assertThat(map, is(notNullValue()));
            assertThat(map.isEmpty(), is(true));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

        map.put(Long.class, null);
        assertThat(map.get(Long.class)).isNull();
        assertThat(map.getInstance(Long.class)).isNull();
      }
    
      public void testPrimitiveAndWrapper() {
        assertThat(map.getInstance(int.class)).isNull();
        assertThat(map.getInstance(Integer.class)).isNull();
    
        assertThat(map.putInstance(int.class, 0)).isNull();
        assertThat(map.putInstance(Integer.class, 1)).isNull();
        assertEquals(2, map.size());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/XmlUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.util;
    
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.crawler.entity.AccessResultDataImpl;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test class for XmlUtil.
     *
     * @author shinsuke
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/QueryContext.java

            return highlightedQuerySet != null ? highlightedQuerySet : new HashSet<>();
        }
    
        /**
         * Gets the field log map containing field names and their associated query terms.
         * @return The field log map, or empty map if not initialized.
         */
        public Map<String, List<String>> getFieldLogMap() {
            return fieldLogMap != null ? fieldLogMap : new HashMap<>();
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * Integer.MAX_VALUE} elements, returns {@code Integer.MAX_VALUE}.
       */
      public int size() {
        return map.size();
      }
    
      /** Returns {@code true} if this map contains no key-value mappings. */
      public boolean isEmpty() {
        return map.isEmpty();
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

                map.put(FieldNames.READING_PREFIX + i, values);
            }
    
            map.put(FieldNames.FIELDS, fields);
            map.put(FieldNames.TAGS, tags);
            map.put(FieldNames.ROLES, roles);
            map.put(FieldNames.LANGUAGES, languages);
            map.put(FieldNames.KINDS, Stream.of(kinds).map(Kind::toString).toArray());
            map.put(FieldNames.QUERY_FREQ, queryFreq);
            map.put(FieldNames.DOC_FREQ, docFreq);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.containsKey("3"), is(not(true)));
            map.put("3", null);
            assertThat(map.containsKey("3"), is(true));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIndexOf() throws Exception {
            assertThat(map.indexOf("test"), is(1));
            assertThat(map.indexOf(null), is(0));
            assertThat(map.indexOf("test3"), is(-1));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        assertEquals(map.size(), oldSize - 1);
        assertFalse(map.containsKey(key));
        assertEquals(subMap.size(), oldSize - 2);
      }
    
      public void testTailMapClearThrough() {
        SortedMap<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        int oldSize = map.size();
        if (map.size() < 2 || !supportsClear) {
          return;
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        assertEquals(map.size(), oldSize - 1);
        assertFalse(map.containsKey(key));
        assertEquals(subMap.size(), oldSize - 2);
      }
    
      public void testTailMapClearThrough() {
        SortedMap<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        int oldSize = map.size();
        if (map.size() < 2 || !supportsClear) {
          return;
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top