- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for singletonMap (0.21 sec)
-
android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 14 22:05:11 GMT 2021 - 4.3K 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" })));
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
.addValue(Arrays.asList("C")) .addValue(Arrays.asList()) .add(SHORT_NAME, Collections.singletonMap("k1", "v1")) .add(LONG_NAME, Collections.singletonMap("k2", "v2")) .addValue(Collections.singletonMap("k3", "v3")) .addValue(Collections.emptyMap()) .addValue(null) .add(SHORT_NAME, java.util.Optional.of("1"))
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri May 14 22:05:11 GMT 2021 - 4.3K bytes - Viewed (0) -
okhttp/src/main/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.Collections.unmodifiableMap import java.util.Locale.US import kotlin.text.Charsets.ISO_8859_1 import okhttp3.internal.commonEquals import okhttp3.internal.commonHashCode
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableBiMap.java
SingletonImmutableBiMap(K key, V value) { super(Collections.singletonMap(checkNotNull(key), checkNotNull(value))); this.singleKey = key; this.singleValue = value; } private SingletonImmutableBiMap(K key, V value, SingletonImmutableBiMap<V, K> inverse) { super(Collections.singletonMap(checkNotNull(key), checkNotNull(value))); this.singleKey = key; this.singleValue = value;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java
} public void testCopyOf_map_nulls() { Map<Class<? extends Number>, Number> nullKey = Collections.singletonMap(null, (Number) 1.0); assertThrows(NullPointerException.class, () -> ImmutableClassToInstanceMap.copyOf(nullKey)); Map<? extends Class<? extends Number>, Number> nullValue = Collections.singletonMap(Number.class, null); assertThrows(NullPointerException.class, () -> ImmutableClassToInstanceMap.copyOf(nullValue));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 7.4K bytes - Viewed (0) -
maven-core/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() {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Sep 22 09:07:17 GMT 2023 - 4.9K 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); } public InputLocation(int lineNumber, int columnNumber) { this(lineNumber, columnNumber, null, null); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Sep 05 16:06:44 GMT 2023 - 5.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java
try (InputStream in = Files.newInputStream(file)) { name = getModuleName(in); } } descriptors = Collections.singletonMap(file, name); isModuleHierarchy = false; return; } /*
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 11.2K bytes - Viewed (0) -
api/maven-api-settings/src/main/java/org/apache/maven/api/settings/InputLocation.java
public InputLocation(InputSource source) { this.lineNumber = -1; this.columnNumber = -1; this.source = source; this.locations = Collections.singletonMap(0, this); } public InputLocation(int lineNumber, int columnNumber) { this(lineNumber, columnNumber, null, null); }
Java - Registered: Sun Feb 04 03:35:10 GMT 2024 - Last Modified: Mon Jun 19 10:39:14 GMT 2023 - 5.9K bytes - Viewed (0)