Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 73 for enumeration (0.41 seconds)

  1. 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: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  3. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/path-params.md

    <img src="/img/tutorial/path-params/image03.png">
    
    ### Working with Python *enumerations* { #working-with-python-enumerations }
    
    The value of the *path parameter* will be an *enumeration member*.
    
    #### Compare *enumeration members* { #compare-enumeration-members }
    
    You can compare it with the *enumeration member* in your created enum `ModelName`:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[17] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/pac/ASN1UtilTest.java

                ASN1Util.as(String.class, obj);
            }, "Should throw PACDecodingException for incompatible types");
        }
    
        // --- as(Class, Enumeration) ---
    
        @Test
        void testAs_Enumeration_Success() throws PACDecodingException {
            // Test successful casting from enumeration
            Vector<ASN1Integer> vector = new Vector<>();
            ASN1Integer expected = new ASN1Integer(123);
            vector.add(expected);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. 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 set
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/NetServerEnumIterator.java

    import jcifs.internal.smb1.net.NetServerEnum2Response;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    
    /**
     * Iterator for enumerating network servers.
     *
     * This class provides iteration over network servers discovered
     * through NetBIOS server enumeration requests.
     */
    public class NetServerEnumIterator implements CloseableIterator<FileEntry> {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnum.java

    import jcifs.smb.FileEntry;
    
    /**
     * MSRPC implementation for enumerating DFS roots.
     * This class provides functionality to enumerate Distributed File System (DFS)
     * roots on a server using the NetDFS RPC interface.
     */
    public class MsrpcDfsRootEnum extends netdfs.NetrDfsEnumEx {
    
        /**
         * Creates a new DFS root enumeration request for the specified server.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  9. 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: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomain.java

        /**
         * Creates a new request to enumerate aliases in a domain.
         *
         * @param domainHandle the handle to the SAM domain
         * @param acct_flags account flags to filter the enumeration
         * @param sam the SAM array to store the enumeration results
         */
        public MsrpcEnumerateAliasesInDomain(final SamrDomainHandle domainHandle, final int acct_flags, final samr.SamrSamArray sam) {
            super(domainHandle, 0, acct_flags, null, 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top