- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 390 for nowrap (0.17 seconds)
-
guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
checkState(newMap instanceof MapMakerInternalMap); newMap.putAll(map); return newMap; } }, MapMakerWeakKeysStrongValues { @Override public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) { ConcurrentMap<K, V> newMap = new MapMaker().weakKeys().makeMap();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 12.5K bytes - Click Count (0) -
src/main/java/jcifs/Credentials.java
* @author mbechler * */ public interface Credentials { /** * Unwrap credentials to a specific type. * * @param <T> the credential type to unwrap to * @param type the class of the credential type to unwrap to * @return instance for type, null if the type cannot be unwrapped */ <T extends Credentials> T unwrap(Class<T> type); /** * Get the domain of the user account.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
verify(tree).send(request, param); } @Test @DisplayName("unwrap and close are available via SmbTree") void unwrap_and_close_interactions() { // Arrange when(tree.unwrap(SmbTreeInternal.class)).thenReturn(tree); // Act SmbTree unwrapped = tree.unwrap(SmbTreeInternal.class); tree.close(); // Assert assertNotNull(unwrapped);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractTable.java
@Override public boolean containsRow(@Nullable Object rowKey) { return Maps.safeContainsKey(rowMap(), rowKey); } @Override public boolean containsColumn(@Nullable Object columnKey) { return Maps.safeContainsKey(columnMap(), columnKey); } @Override public Set<R> rowKeySet() { return rowMap().keySet(); } @Override public Set<C> columnKeySet() { return columnMap().keySet();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 6.7K bytes - Click Count (0) -
src/main/java/jcifs/SmbPipeHandle.java
*/ boolean isStale(); /** * Unwraps this handle to the specified type. * * @param <T> the type to unwrap to * @param type the class of the type to unwrap to * @return unwrapped instance */ <T extends SmbPipeHandle> T unwrap(Class<T> type);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
// Act & Assert // unwrap to interface itself should return same instance CredentialsInternal unwrapped = creds.unwrap(CredentialsInternal.class); assertNotNull(unwrapped, "unwrap to CredentialsInternal returns instance"); assertSame(creds, unwrapped, "unwrap returns the same object instance");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
target = new SmbPipeHandleImpl(pipe); } @Test @DisplayName("unwrap returns self for assignable type; throws for incompatible and null") void testUnwrap() { // Happy path: unwrap to concrete type SmbPipeHandleImpl unwrapped = target.unwrap(SmbPipeHandleImpl.class); assertSame(target, unwrapped); // Incompatible type: expect ClassCastExceptionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/StandardRowSortedTable.java
@Override public SortedSet<R> rowKeySet() { return (SortedSet<R>) rowMap().keySet(); } /** * {@inheritDoc} * * <p>This method returns a {@link SortedMap}, instead of the {@code Map} specified in the {@link * Table} interface. */ @Override public SortedMap<R, Map<C, V>> rowMap() { return (SortedMap<R, Map<C, V>>) super.rowMap(); } @Override SortedMap<R, Map<C, V>> createRowMap() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 18 15:05:43 GMT 2025 - 4.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
public Set<R> rowKeySet() { assertTrue(Thread.holdsLock(mutex)); return delegate.rowKeySet(); } @Override public Map<R, Map<C, V>> rowMap() { assertTrue(Thread.holdsLock(mutex)); return delegate.rowMap(); } private static final long serialVersionUID = 0; } @Override protected Table<String, Integer, Character> create(@Nullable Object... data) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 4.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/StandardTable.java
} @LazyInit private transient @Nullable Map<R, Map<C, V>> rowMap; @Override public Map<R, Map<C, V>> rowMap() { Map<R, Map<C, V>> result = rowMap; return (result == null) ? rowMap = createRowMap() : result; } Map<R, Map<C, V>> createRowMap() { return new RowMap(); } @WeakOuter class RowMap extends ViewCachingAbstractMap<R, Map<C, V>> { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 30.4K bytes - Click Count (0)