- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 920 for maps (0.02 sec)
-
README.md
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.*; // Safe type conversions with null handling
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
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
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosErrorTest.java
@DisplayName("Happy path: known DOS codes map to expected NTSTATUS") void mapsKnownDosCodesToNtStatus(int dosCode, int expectedNtStatus) { // Act int actual = findNtStatusOrMinusOne(dosCode); // Assert assertEquals(expectedNtStatus, actual, "Mapping must match table entry"); } @Test @DisplayName("Edge: zero DOS code maps to zero NTSTATUS") void zeroCodeMapsToZero() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/BiMap.java
* of {@code map}. * * @throws IllegalArgumentException if an attempt to {@code put} any entry fails. Note that some * map entries may have been added to the bimap before the exception was thrown. */ @Override void putAll(Map<? extends K, ? extends V> map); // Views /** * {@inheritDoc} *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
int written = trans2QueryFSInfo.writeParametersWireFormat(buffer, 0); // Should write 2 bytes: information level assertEquals(2, written); // Check information level (SMB_INFO_ALLOCATION maps to 0x0001) int actualInfoLevel = SMBUtil.readInt2(buffer, 0); assertEquals(0x0001, actualInfoLevel); } @Test @DisplayName("Test writeParametersWireFormat with FS_SIZE_INFO")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
assertEquals(6, written); // Check FID int actualFid = SMBUtil.readInt2(buffer, 0); assertEquals(TEST_FID, actualFid); // Check information level (FILE_BASIC_INFO maps to 0x0101) int actualInfoLevel = SMBUtil.readInt2(buffer, 2); assertEquals(0x0101, actualInfoLevel); // Check reserved bytes (should be 0) int reserved = SMBUtil.readInt2(buffer, 4);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
Map<Integer, String> map = CompactLinkedHashMap.create(); map.put(1, "a"); map.put(4, "b"); map.put(3, "d"); map.put(2, "c"); map.remove(4); testHasMapEntriesInOrder(map, 1, "a", 3, "d", 2, "c"); } public void testInsertionOrderAfterRemoveLastEntry() { Map<Integer, String> map = CompactLinkedHashMap.create(); map.put(1, "a"); map.put(4, "b");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
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<>(); private final AtomicInteger globalAttemptsInCurrentWindow = new AtomicInteger(0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
// TODO(fry): Look into Maps.KeySet and Maps.Values, which can ideally be reused here but are // currently only package visible. abstract class AbstractCacheSet<T> extends AbstractSet<T> { final ConcurrentMap<?, ?> map; AbstractCacheSet(ConcurrentMap<?, ?> map) { this.map = map; } @Override public int size() { return map.size(); } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
} /** * Implements {@code Multimap.put()} -- and no other methods -- for a {@code Map} by ignoring all * but the latest value for each key. This class exists only so that we can use {@link * MultimapsCollectionTest#populateMultimapForGet(Multimap, String[])} and similar methods to * populate a map to be passed to {@link Multimaps#forMap(Map)}. All tests should run against the * result of {@link #build()}. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Sep 24 22:52:18 UTC 2025 - 28.6K bytes - Viewed (0)