- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 847 for maps (0.1 sec)
-
src/main/java/org/codelibs/core/collection/Maps.java
* * Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$(); * </pre> * * @author koichik * @param <K> the key type of the {@literal Map} * @param <V> the value type of the {@literal Map} */ public class Maps<K, V> { /** The target <code>Map</code> to be created. */ protected Map<K, V> map; /**
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 7.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt
} // Return a new `Tags` that maps `key` to `value`. return when { value != null -> LinkedTags(key, value, thisMinusKey) else -> thisMinusKey } } override fun <T : Any> get(key: KClass<T>): T? = when { key == this.key -> key.java.cast(value) else -> next[key] } /** Returns a [toString] consistent with [Map], with elements in insertion order. */Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 24 11:37:46 UTC 2025 - 3.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java
*/ public class MemoryDataHelper { /** Map of session IDs to URL queues for managing crawling queues. */ protected volatile Map<String, Queue<UrlQueueImpl<Long>>> urlQueueMap = new HashMap<>(); /** Map of session IDs to access result maps for storing crawling results. */ protected volatile Map<String, Map<String, AccessResultImpl<Long>>> sessionMap = new HashMap<>();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
} /** * Returns a {@link ByteBuffer} that maps the file channel to memory. * * @param channel * The file channel. Must not be {@literal null}. * @param mode * The mode. Must not be {@literal null}. * @return A {@link ByteBuffer} that maps the file channel to memory. */ public static ByteBuffer map(final FileChannel channel, final MapMode mode) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/MapsTest.java
import static org.codelibs.core.collection.Maps.map; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import java.util.Map; import org.junit.Test; /** * @author koichik */ public class MapsTest { /** * @throws Exception */ @Test public void test() throws Exception { final Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$();Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java
return asHtml(path_AdminPlugin_AdminPluginInstallpluginJsp).renderWith(data -> { final List<Map<String, String>> result = new ArrayList<>(); final Map<String, String> map = new HashMap<>(); map.put("id", UPLOAD); map.put("name", ""); map.put("version", ""); result.add(map); try { result.addAll(getAllAvailableArtifacts());
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocList.java
import java.util.Arrays; import java.util.Map; /** * A specialized ArrayList for storing document data with additional metadata. * This class extends ArrayList to hold document maps while tracking content size * and processing time metrics. It's used throughout the Fess search system to * manage collections of search results and crawled documents. * */ public class DocList extends ArrayList<Map<String, Object>> {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocMap.java
* */ public class DocMap implements Map<String, Object> { /** The key used for language field identification */ private static final String LANG_KEY = "lang"; /** The underlying map that this DocMap wraps */ private final Map<String, Object> parent; /** * Constructor that creates a DocMap wrapping the given parent map. * * @param parent the map to wrap and delegate operations to */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java
final Map<String, Object> map = new HashMap<>(); final String name = filePath.getFileName().toString(); map.put("id", Base64.getUrlEncoder().encodeToString(name.getBytes(StandardCharsets.UTF_8))); map.put("name", name); try {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
assertEquals(5, in.skip(5)); } } @Nested @DisplayName("SMB1 interactions") class Smb1Behavior { @Test @DisplayName("Named pipe: broken pipe maps to -1") void namedPipeBrokenPipeReturnsMinusOne() throws Exception { when(mockTree.isSMB2()).thenReturn(false); when(mockFile.getType()).thenReturn(SmbConstants.TYPE_NAMED_PIPE);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0)