- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 135 for Enumerations (0.07 seconds)
-
src/main/java/org/codelibs/core/collection/EnumerationIterator.java
* * @param <T> the element type * @param enumeration the enumeration (must not be {@literal null}) * @return an {@link Iterable} wrapping the enumeration */ public static <T> Iterable<T> iterable(final Enumeration<T> enumeration) { assertArgumentNotNull("enumeration", enumeration); return () -> new EnumerationIterator<>(enumeration); }Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java
} /** * Opens the enumeration and returns the first entry. * * @return the first file entry, or null if empty * @throws CIFSException if an error occurs during opening */ protected abstract FileEntry open() throws CIFSException; /** * Checks if the enumeration is complete. * * @return true if enumeration is done, false otherwise */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.7K bytes - Click Count (0) -
src/main/java/jcifs/pac/ASN1Util.java
} return type.cast(object); } /** * Gets the next element from an enumeration and casts it to the specified type * @param <T> the target type * @param type the target class type * @param enumeration the enumeration to read from * @return next element from enumeration cast to type * @throws PACDecodingException if types are incompatible */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.2K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/netdfs.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 21.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
/** * Test method for * {@link org.codelibs.core.collection.EnumerationIterator#EnumerationIterator(Enumeration)} * . */ @Test public void testCopyDestNull() { exception.expect(NullArgumentException.class); exception.expectMessage(is("[ECL0008]argument[enumeration] is null.")); new EnumerationIterator<Object>(null); }Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/IteratorEnumeration.java
import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.Enumeration; import java.util.Iterator; /** * Adapter to convert an {@link Iterator} to an {@link Enumeration}. * * @author higa * @param <T> the element type */ public class IteratorEnumeration<T> implements Enumeration<T> { /** 反復子 */ protected final Iterator<T> iterator; /**Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 21.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java
} /** * Sets the query flags for the directory enumeration * * @param queryFlags * the queryFlags to set */ public void setQueryFlags(final byte queryFlags) { this.queryFlags = queryFlags; } /** * Sets the file index from which to start the directory enumeration * * @param fileIndex * the fileIndex to setCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
* The class loader. Must not be {@literal null}. * @param name * The resource name. Must not be {@literal null} or an empty string. * @return An enumeration of URL objects for the resources. If no resources are found, the enumeration will be empty. * Resources that the class loader does not have access to will not be included. * @see java.lang.ClassLoader#getResources(String) */Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 7.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
import jcifs.internal.smb2.create.Smb2CreateResponse; import jcifs.internal.smb2.info.Smb2QueryDirectoryRequest; import jcifs.internal.smb2.info.Smb2QueryDirectoryResponse; /** * SMB2/SMB3 implementation of directory entry enumeration iterator. * Provides efficient directory listing capabilities for SMB2/SMB3 protocol versions. * * @author mbechler * */ public class DirFileEntryEnumIterator2 extends DirFileEntryEnumIteratorBase {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.4K bytes - Click Count (0)