- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 318 for maxs (0.45 sec)
-
src/main/java/org/codelibs/core/collection/Maps.java
* @return 指定されたキーと値を持つ{@link HashMap}を構築するための{@literal Maps} */ public static <KEY, VALUE> Maps<KEY, VALUE> hashMap(final KEY key, final VALUE value) { return new Maps<>(new HashMap<KEY, VALUE>()).$(key, value); } /** * 指定されたキーと値を持つ{@link Hashtable}を構築するための{@literal Maps}を返します。 * * @param <KEY> * <code>Map</code>のキーの型 * @param <VALUE>
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8K bytes - Viewed (0) -
pkg/maps/maps.go
// See the License for the specific language governing permissions and // limitations under the License. package maps import "maps" // nolint: depguard // Equal reports whether two maps contain the same key/value pairs. // Values are compared using ==. func Equal[M1, M2 ~map[K]V, K, V comparable](m1 M1, m2 M2) bool { return maps.Equal(m1, m2) } // Clone returns a copy of the map.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 01 22:48:35 UTC 2024 - 2.5K bytes - Viewed (0) -
src/maps/maps.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package maps defines various functions useful with maps of any type. package maps import ( _ "unsafe" ) // Equal reports whether two maps contain the same key/value pairs. // Values are compared using ==. func Equal[M1, M2 ~map[K]V, K, V comparable](m1 M1, m2 M2) bool { if len(m1) != len(m2) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 20:35:05 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/Maps.kt
Paul Merlin <******@****.***> 1690890212 +0200
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.1K bytes - Viewed (0) -
releasenotes/notes/max-concurrent-streams.yaml
apiVersion: release-notes/v2 kind: feature area: traffic-management releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 08 21:39:29 UTC 2024 - 210 bytes - Viewed (0) -
src/internal/trace/mud_test.go
mass += area l, u, ok := mud.approxInvCumulativeSum() inv, ok2 := mud.invCumulativeSum(trackMass) if mass < trackMass { if ok { t.Errorf("approx(%g) = [%g, %g), but mass = %g", trackMass, l, u, mass) } if ok2 { t.Errorf("exact(%g) = %g, but mass = %g", trackMass, inv, mass) } } else { if !ok { t.Errorf("approx(%g) failed, but mass = %g", trackMass, mass) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashBiMapTest.java
.containsExactly(Maps.immutableEntry("bar", 2), Maps.immutableEntry("quux", 1)) .inOrder(); } public void testInverseInsertionOrderAfterInverse() { BiMap<String, Integer> map = HashBiMap.create(); map.put("bar", 2); map.put("quux", 1); assertThat(map.inverse().entrySet()) .containsExactly(Maps.immutableEntry(2, "bar"), Maps.immutableEntry(1, "quux"))
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 8.4K bytes - Viewed (0) -
src/maps/example_test.go
// license that can be found in the LICENSE file. package maps_test import ( "fmt" "maps" "strings" ) func ExampleClone() { m1 := map[string]int{ "key": 1, } m2 := maps.Clone(m1) m2["key"] = 100 fmt.Println(m1["key"]) fmt.Println(m2["key"]) m3 := map[string][]int{ "key": {1, 2, 3}, } m4 := maps.Clone(m3) fmt.Println(m4["key"][0]) m4["key"][0] = 100 fmt.Println(m3["key"][0])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 11 20:21:56 UTC 2023 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java
abstract Map<String, Integer> createUnfiltered(); public void testFilteredKeysIllegalPut() { Map<String, Integer> unfiltered = createUnfiltered(); Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3); filtered.put("a", 1); filtered.put("b", 2); assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered); try { filtered.put("yyy", 3); fail();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 7.4K bytes - Viewed (0) -
doc/next/6-stdlib/3-iter.md
sub-slices of up to n elements of a slice. The [maps] package adds several functions that work with iterators: - [All](/pkg/maps#All) returns an iterator over key-value pairs from m. - [Keys](/pkg/maps#Keys) returns an iterator over keys in m. - [Values](/pkg/maps#Values) returns an iterator over values in m. - [Insert](/pkg/maps#Insert) adds the key-value pairs from seq to m.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:13 UTC 2024 - 1.4K bytes - Viewed (0)