- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for getMax (0.13 sec)
-
guava-tests/test/com/google/common/math/StatsTest.java
assertEquivalent(stats.mean(), streamStats.getAverage()); assertEquivalent(stats.sum(), streamStats.getSum()); assertEquivalent(stats.max(), streamStats.getMax()); assertEquivalent(stats.min(), streamStats.getMin()); } } private static void assertEquivalent(double actual, double expected) { if (expected == POSITIVE_INFINITY) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 33.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final MethodDesc methodDesc = beanDesc.getMethodDesc("getAaa"); assertThat(methodDesc, is(notNullValue())); assertThat(methodDesc.getMethodName(), is("getAaa")); beanDesc.getMethodDesc("getaaa"); } /** * @throws Exception */ @Test public void testGetMethodNoException() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 13.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java
final PropertyDesc propDesc = beanDesc.getPropertyDesc("cal"); final Date date = new Date(); propDesc.setValue(myBean, date); assertThat(myBean.getCal().getTime(), is(date)); } /** * @throws Exception */ @Test public void testSetIntegerValueToString() throws Exception { final MyBean myBean = new MyBean();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
final MyClass2 dest = new MyClass2(); dest.setAaa("aaa"); dest.setBbb("bbb"); dest.setDdd("ddd"); BeanUtil.copyBeanToBean(src, dest); assertThat(dest.getAaa(), is("111")); assertThat(dest.getBbb(), is(nullValue())); assertThat(dest.getDdd(), is("ddd")); } /** * @throws Exception */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 34.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt
added("Method", "SourceKt.foo()"), added("Method", "SourceKt.fooExt(java.lang.String)"), added("Method", "SourceKt.fooExt(int)"), added("Method", "SourceKt.getBar()"), added("Method", "SourceKt.getBarExt(java.lang.String)"), added("Method", "SourceKt.getBazar()"), added("Method", "SourceKt.getBazarExt(int)"),
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jul 11 06:57:51 UTC 2023 - 12.7K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
StringWriter sw = new StringWriter(); properties.save(sw); String msg = sw.toString(); assertTrue(sw.toString().endsWith(RESULT3), msg); List<String> rawValue = properties.getRaw(KEY1); assertEquals(2, (Object) rawValue.size()); assertEquals(KEY1A + " = " + VALUE1, rawValue.get(0)); assertEquals(VALUE1, rawValue.get(1)); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
@SuppressWarnings("unchecked") ArrayMap<String, String> copy = (ArrayMap<String, String>) SerializeUtil.serialize(map); assertThat(copy.getAt(0), is(nullValue())); assertThat(copy.getAt(1), is("test")); assertThat(copy.getAt(2), is("test2")); assertThat(map.equals(copy), is(true)); } /** * @throws Exception */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
* * @param index the index of the stripe to return; must be in {@code [0...size())} * @return the stripe at the specified index */ public abstract L getAt(int index); /** * Returns the index to which the given key is mapped, so that getAt(indexFor(key)) == get(key). */ abstract int indexFor(Object key); /** Returns the total number of stripes in this instance. */ public abstract int size();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 20.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
return pd; } @Override public PropertyDesc getPropertyDesc(final int index) { assertArgumentArrayIndex("index", index, getPropertyDescSize()); return propertyDescCache.getAt(index); } @Override public int getPropertyDescSize() { return propertyDescCache.size(); } @Override public Iterable<PropertyDesc> getPropertyDescs() {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 26.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
} return null; } /** * インデックスで指定された位置の値を返します。 * * @param index * インデックス * @return インデックスで指定された位置の値 */ public V getAt(final int index) { return getEntryAt(index).getValue(); } /** * インデックスで指定された位置のキーを返します。 * * @param index * インデックス * @return インデックスで指定された位置のキー
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 20.6K bytes - Viewed (0)