- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for 42 (0.01 sec)
-
guava-tests/test/com/google/common/base/FunctionsTest.java
Function<String, @Nullable Integer> function = Functions.forMap(map, 42); assertEquals(1, function.apply("One").intValue()); assertEquals(42, function.apply("Two").intValue()); assertEquals(3, function.apply("Three").intValue()); assertNull(function.apply("Null")); new EqualsTester() .addEqualityGroup(function, Functions.forMap(map, 42)) .addEqualityGroup(Functions.forMap(map))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
assertEquals("", result.get()); } public void test_ofNullable_withInteger() { Integer testValue = 42; OptionalEntity<Integer> result = OptionalUtil.ofNullable(testValue); assertNotNull(result); assertTrue(result.isPresent()); assertEquals(Integer.valueOf(42), result.get()); } public void test_ofNullable_withNullInteger() { Integer testValue = null;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
rawtypeToWildcard(MinMaxPriorityQueue.maximumSize(42)).create(); assertEquals(11, queue.capacity()); assertEquals(42, queue.maximumSize); checkNatural(queue); } public void testCreation_comparator_maximumSize() { MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.orderedBy(SOME_COMPARATOR).maximumSize(42).create(); assertEquals(11, queue.capacity());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
Function<String, @Nullable Integer> function = Functions.forMap(map, 42); assertEquals(1, function.apply("One").intValue()); assertEquals(42, function.apply("Two").intValue()); assertEquals(3, function.apply("Three").intValue()); assertNull(function.apply("Null")); new EqualsTester() .addEqualityGroup(function, Functions.forMap(map, 42)) .addEqualityGroup(Functions.forMap(map))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreTest.java
DataConfig config = new DataConfig(); DataStoreParams params = new DataStoreParams(); // Add various types of parameters params.put("string", "test-value"); params.put("integer", 42); params.put("long", 123456789L); params.put("boolean", true); params.put("double", 3.14); Map<String, Object> nestedMap = new HashMap<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
response.setEncoding("UTF-8"); String testContent = "42"; byte[] data = testContent.getBytes("UTF-8"); ContentCache cache = new ContentCache(data); response.setContentCache(cache); Integer result = response.getContent(r -> Integer.parseInt(r.getContentAsString())); assertEquals(Integer.valueOf(42), result); } @Test
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java
assertEquals(3, configHelper.getLoadCallCount()); } public void test_load_returnsExpectedValue() { configHelper.setLoadCallback(() -> 42); assertEquals(42, configHelper.load()); configHelper.setLoadCallback(() -> 0); assertEquals(0, configHelper.load()); configHelper.setLoadCallback(() -> -1);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 00:03:47 UTC 2025 - 4.7K bytes - Viewed (0) -
.github/workflows/scorecard.yml
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 19:19:31 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
public void test_append_shortValue() { StringBuilder buf = new StringBuilder(); Supplier<Object> supplier = () -> Short.valueOf((short) 42); monitorTarget.append(buf, "shortKey", supplier); assertEquals("\"shortKey\":42", buf.toString()); } // Test append method with double array public void test_append_doubleArray() { StringBuilder buf = new StringBuilder();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
return 42; } @Override public boolean equals(@Nullable Object o) { return o instanceof SerializableTicker; } } private static class SerializableWeigher<K, V> implements Weigher<K, V>, Serializable { @Override public int weigh(K key, V value) { return 42; } @Override public int hashCode() { return 42; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 110.5K bytes - Viewed (0)