- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 429 for Maps (0.03 seconds)
-
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
when(locator.getAddress()).thenThrow(new CIFSException("no master", new UnknownHostException("MB"))); // Act + Assert: the code maps this case to SmbUnsupportedOperationException assertThrows(SmbUnsupportedOperationException.class, () -> SmbEnumerationUtil.doEnum(parent, "*", 0, null, null)); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java
assertTrue(result instanceof BoolQueryBuilder); BoolQueryBuilder boolResult = (BoolQueryBuilder) result; assertTrue(boolResult.hasClauses()); } // Test with FILTER occur type (which maps to default case) @Test public void test_convertBooleanQuery_withFilterClause() { BooleanQuery.Builder boolQueryBuilder = new BooleanQuery.Builder();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.4K bytes - Click Count (0) -
README.md
// Bean copying with flexible options BeanUtil.copyBeanToBean(source, destination); BeanUtil.copyBeanToBean(source, destination, options -> options.exclude("password", "internalId")); // Convert between beans and maps Map<String, Object> map = BeanUtil.copyBeanToNewMap(bean); MyBean newBean = BeanUtil.copyMapToNewBean(map, MyBean.class); ``` ### Type Conversion ```java import org.codelibs.core.convert.*;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
} })); assertEquals(newArrayList("a", "c", "e"), list); } // The Maps returned by Maps.filterEntries(), Maps.filterKeys(), and // Maps.filterValues() are not tested with removeIf() since Maps are not // Iterable. Those returned by Iterators.filter() and Iterables.filter() // are not tested because they are unmodifiable.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
@GwtIncompatible public class TestsForMapsInJavaUtil { public static Test suite() { return new TestsForMapsInJavaUtil().allTests(); } public Test allTests() { TestSuite suite = new TestSuite("java.util Maps"); suite.addTest(testsForCheckedMap()); suite.addTest(testsForCheckedSortedMap()); suite.addTest(testsForEmptyMap()); suite.addTest(testsForSingletonMap()); suite.addTest(testsForHashMap());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 17.3K bytes - Click Count (0) -
cmd/erasure-metadata.go
fi.TransitionedObjName != ofi.TransitionedObjName, fi.TransitionVersionID != ofi.TransitionVersionID: return false } return true } // MetadataEquals returns true if FileInfos Metadata maps are equal, false otherwise. func (fi FileInfo) MetadataEquals(ofi FileInfo) bool { if len(fi.Metadata) != len(ofi.Metadata) { return false } for k, v := range fi.Metadata {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 21.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
kryo.register(HashSet.class, new CollectionSerializer<>()); kryo.register(LinkedHashSet.class, new CollectionSerializer<>()); kryo.register(TreeSet.class, new CollectionSerializer<>()); // Maps - with explicit serializers for safety kryo.register(HashMap.class, new MapSerializer<>()); kryo.register(LinkedHashMap.class, new MapSerializer<>()); kryo.register(TreeMap.class, new MapSerializer<>());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:54:09 GMT 2026 - 10.5K bytes - Click Count (3) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java
* display. This includes two values for each extreme. * * <p>This method (dangerously) assume that the strings {@code "!! a"} and {@code "~~ z"} will * work for this purpose, which may cause problems for navigable maps with non-string or unicode * generators. */ private static List<String> getExtremeValues() { List<String> result = new ArrayList<>(); result.add("!! a"); result.add("!! b");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 11.9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.Nullable; /** * Tests {@link MapTestSuiteBuilder} by using it against maps that have various negative behaviors. * * @author George van den Driessche */ @AndroidIncompatible // test-suite builders public final class MapTestSuiteBuilderTests extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 11.6K bytes - Click Count (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
private final int maxAttemptsPerIp; private final int maxGlobalAttemptsPerMinute; private final Duration lockoutDuration; private final Duration cleanupInterval; // Tracking maps private final Map<String, AccountAttempts> accountAttempts = new ConcurrentHashMap<>(); private final Map<String, IpAttempts> ipAttempts = new ConcurrentHashMap<>();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0)