- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for singletonMap (0.09 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableBiMap.java
SingletonImmutableBiMap(K key, V value) { super(singletonMap(checkNotNull(key), checkNotNull(value))); this.singleKey = key; this.singleValue = value; } private SingletonImmutableBiMap(K key, V value, SingletonImmutableBiMap<V, K> inverse) { super(singletonMap(checkNotNull(key), checkNotNull(value))); this.singleKey = key; this.singleValue = value;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 22:23:20 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java
final String k = "q"; assertEquals("", getAsQuery(Collections.singletonMap(k, new String[] { "" }))); assertEquals("aaa", getAsQuery(Collections.singletonMap(k, new String[] { "aaa" }))); assertEquals("aaa bbb", getAsQuery(Collections.singletonMap(k, new String[] { "aaa bbb" }))); assertEquals("aaa bbb ccc", getAsQuery(Collections.singletonMap(k, new String[] { "aaa bbb", "ccc" })));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 16.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Challenge.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import java.nio.charset.Charset import java.util.Collections.singletonMap import java.util.Locale.US import kotlin.text.Charsets.ISO_8859_1 import okhttp3.internal.unmodifiable /** * An [RFC 7235][rfc_7235] challenge. * * [rfc_7235]: https://tools.ietf.org/html/rfc7235 */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 15:01:35 UTC 2025 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static java.util.Collections.singletonMap; import com.google.common.annotations.GwtCompatible; import java.util.Map.Entry; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.1K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jul 07 11:47:42 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/JapaneseStopTokenFilterFactory.java
* governing permissions and limitations under the License. */ package org.codelibs.opensearch.extension.kuromoji.index.analysis; import static java.util.Collections.singletonMap; import java.util.Map; import java.util.Set; import org.apache.lucene.analysis.CharArraySet; import org.apache.lucene.analysis.StopFilter; import org.apache.lucene.analysis.TokenStream;
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java
} public void testCopyOf_map_nulls() { Map<Class<? extends Number>, Number> nullKey = singletonMap(null, (Number) 1.0); assertThrows(NullPointerException.class, () -> ImmutableClassToInstanceMap.copyOf(nullKey)); Map<? extends Class<? extends Number>, Number> nullValue = singletonMap(Number.class, null); assertThrows(NullPointerException.class, () -> ImmutableClassToInstanceMap.copyOf(nullValue)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java
*/ public class StandardCrawlerContainer implements CrawlerContainer { private static final Logger logger = LogManager.getLogger(StandardCrawlerContainer.class); private final Map<String, ComponentHolder<?>> singletonMap = new ConcurrentHashMap<>(); private final Map<String, ComponentDef<?>> prototypeMap = new ConcurrentHashMap<>(); private boolean available = true; /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java
ToolchainModel model = new ToolchainModel(); model.setType("TYPE"); DefaultToolchain toolchain = newDefaultToolchain(model); assertFalse(toolchain.matchesRequirements(Collections.singletonMap("name", "John Doe"))); verify(logger).debug("Toolchain {} is missing required property: {}", toolchain, "name"); } @Test void testNonMatchingRequirementProperty() {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Feb 11 12:33:57 UTC 2025 - 4.9K bytes - Viewed (0)