- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for singletonMap (0.11 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) -
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) -
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) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
// Full NTLM handshake testing would require more complex mocking // Arrange - Mock a server that supports NTLM mockResponse(HTTP_UNAUTHORIZED, "Unauthorized", Collections.singletonMap("WWW-Authenticate", Collections.singletonList("NTLM")), new ByteArrayInputStream(new byte[0])); // Act - Trigger handshake int responseCode = ntlmConnection.getResponseCode();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java
public InputLocation(InputSource source) { this.lineNumber = -1; this.columnNumber = -1; this.source = source; this.locations = Collections.singletonMap(0, this); this.importedFrom = null; } public InputLocation(int lineNumber, int columnNumber) { this(lineNumber, columnNumber, null, null); }Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
NullPointerException.class, () -> builder.putAll(Collections.<String, Integer>singletonMap(null, 1))); } public void testBuilderPutNullValueViaPutAll() { Builder<String, Integer> builder = new Builder<>(); assertThrows( NullPointerException.class, () -> builder.putAll(Collections.<String, Integer>singletonMap("one", null))); } @SuppressWarnings("AlwaysThrows")Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
() -> builder.putAll(Collections.<String, Integer>singletonMap(null, 1))); } public void testBuilderPutNullValueViaPutAll() { Builder<String, Integer> builder = ImmutableSortedMap.naturalOrder(); assertThrows( NullPointerException.class, () -> builder.putAll(Collections.<String, Integer>singletonMap("one", null))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.base.Preconditions.checkNotNull; import static java.util.Collections.singletonMap; import static java.util.stream.Collectors.collectingAndThen; import static java.util.stream.Collectors.toMap; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 16.9K bytes - Viewed (0)