- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for TestMmap (0.18 sec)
-
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
assertThat(WildcardType.class.isInstance(GenericsUtil.getElementTypeOfSet(t3)), is(true)); } /** * @throws Exception */ public void testMap() throws Exception { final Method m1 = MapType.class.getMethod("mapOfStringToObject"); final Type t1 = m1.getGenericReturnType(); assertThat(GenericsUtil.isTypeOf(t1, Map.class), is(true));
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
Joiner j = Joiner.on("x").useForNull("y"); try { j = j.useForNull("y"); fail(); } catch (UnsupportedOperationException expected) { } } public void testMap() { MapJoiner j = Joiner.on(';').withKeyValueSeparator(':'); assertEquals("", j.join(ImmutableMap.of())); assertEquals(":", j.join(ImmutableMap.of("", "")));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 12.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
Joiner j = Joiner.on("x").useForNull("y"); try { j = j.useForNull("y"); fail(); } catch (UnsupportedOperationException expected) { } } public void testMap() { MapJoiner j = Joiner.on(';').withKeyValueSeparator(':'); assertEquals("", j.join(ImmutableMap.of())); assertEquals(":", j.join(ImmutableMap.of("", "")));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
* </p> * * <pre> * copyBeanToMap(srcBean, destMap); * copyMapToBean(srcMap, destBean); * </pre> * <p> * コピー先となるJavaBeansまたは{@link Map}のインスタンスを新たに生成してコピーすることも出来ます。 * </p> * * <pre> * DestBean destBean = copyBeanToNewBean(srcBean, DestBean.class); * DestBean destBean = copyMapToNewBean(srcMap, DestBean.class); * Map<String, Object> destMap = copyBeanToNewMap(srcBean); * </pre> * <p>
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.5K bytes - Viewed (0) -
src/encoding/gob/encoder_test.go
} var t7p Type7 if err := encAndDec(t7, &t7p); err != nil { t.Error(err) } } var testInt int var testFloat32 float32 var testString string var testSlice []string var testMap map[string]int var testArray [7]int type SingleTest struct { in any out any err string } var singleTests = []SingleTest{ {17, &testInt, ""}, {float32(17.5), &testFloat32, ""},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 29.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto
// e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` // If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` // It does not support list numeric index.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 39.1K bytes - Viewed (0) -
pkg/slices/slices_test.go
output = FilterInPlace(input, func(s *s) bool { return s != nil && s.Junk != "c" }) }) assert.Equal(t, output, []*s{{"b"}}) assert.Equal(t, input, []*s{{"b"}, nil, nil}) } func TestMap(t *testing.T) { tests := []struct { name string elements []int fn func(int) int want []int }{ { name: "empty element", elements: []int{},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 18.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto
// e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` // If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` // It does not support list numeric index.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 41.8K bytes - Viewed (0)