- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for LruHashMap (0.22 seconds)
-
src/main/java/org/codelibs/core/collection/LruHashMap.java
*/ protected final int limitSize; /** * Creates an {@link LruHashMap}. * * @param limitSize the upper limit on the number of entries */ public LruHashMap(final int limitSize) { this(limitSize, DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR); } /** * Creates an {@link LruHashMap}. * * @param limitSize the upper limit on the number of entriesCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/LruHashSet.java
import java.util.AbstractSet; import java.util.ConcurrentModificationException; import java.util.Iterator; import java.util.Set; /** * A {@link Set} implementation that stores its elements in a {@link LruHashMap}. * <p> * This set has a fixed maximum capacity. When the capacity is reached and a new element is added, * the least recently used element is removed. * </p> * @author shinsukeCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 3.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/LruHashMapTest.java
/** * @author taichi */ public class LruHashMapTest { /** * @throws Exception */ @Test public void testAll() throws Exception { final LruHashMap<String, String> lru = new LruHashMap<String, String>(3); lru.put("aaa", "111"); lru.put("bbb", "222"); lru.put("ccc", "333"); assertThat(lru.get("aaa"), is("111"));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
CLAUDE.md
## Repository Structure ``` src/main/java/org/codelibs/core/ ├── beans/ # Bean manipulation & introspection (converter/, factory/, impl/, util/) ├── collection/ # Enhanced collections (LruHashMap, CaseInsensitiveMap) ├── concurrent/ # Concurrency utilities ├── convert/ # Type conversion (*ConversionUtil) ├── crypto/ # Cipher & encryption (CachedCipher) ├── exception/ # Runtime exception wrappers
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Mar 12 03:38:56 GMT 2026 - 3K bytes - Click Count (0) -
README.md
String last = CollectionsUtil.getLast(sequenced); SequencedCollection<String> reversed = CollectionsUtil.reversed(sequenced); // Specialized collections LruHashMap<String, Object> lruCache = new LruHashMap<>(100); // LRU cache with max 100 entries CaseInsensitiveMap<String> configMap = new CaseInsensitiveMap<>(); ``` ### Resource Management ```java import org.codelibs.core.io.*;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
*/ package org.codelibs.fess.helper; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.UUID; import org.codelibs.core.collection.LruHashMap; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.util.ComponentUtil;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 14.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map; import org.apache.commons.lang3.StringUtils; import org.apache.logging.log4j.Logger; import org.codelibs.core.collection.LruHashMap; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.crawler.entity.AccessResult; import org.codelibs.fess.crawler.entity.AccessResultData;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 11 09:47:03 GMT 2025 - 14.1K bytes - Click Count (0)