Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 95 for enumeration (0.66 sec)

  1. 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;
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/EmptyEnumeration.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.collection;
    
    import java.util.Enumeration;
    
    /**
     * An empty {@link Enumeration}.
     *
     * @author higa
     * @param <T> the type of elements
     */
    public class EmptyEnumeration<T> extends IteratorEnumeration<T> {
    
        /**
         * Creates an {@link EmptyEnumeration}.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 993 bytes
    - Viewed (0)
  3. 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcDfsRootEnum.java

    import jcifs.smb1.smb1.SmbShareInfo;
    
    /**
     * 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.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. 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)
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. 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 {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. 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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareEnum.java

     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    import jcifs.smb1.smb1.FileEntry;
    import jcifs.smb1.smb1.SmbShareInfo;
    
    /**
     * MS-RPC share enumeration operation.
     *
     * This class implements the Server Service (SRVSVC) ShareEnumAll operation
     * for enumerating network shares on a remote server.
     */
    public class MsrpcShareEnum extends srvsvc.ShareEnumAll {
    
        class MsrpcShareInfo1 extends SmbShareInfo {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            initParams.put("jcifs.http.insecureBasic", "true");
            initParams.put("jcifs.http.basicRealm", "TestRealm");
    
            when(filterConfig.getInitParameterNames()).thenReturn(Collections.enumeration(initParams.keySet()));
            when(filterConfig.getInitParameter(anyString())).thenAnswer(invocation -> initParams.get(invocation.getArgument(0)));
    
            assertDoesNotThrow(() -> filter.init(filterConfig));
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

     */
    package jcifs.pac.kerberos;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.math.BigInteger;
    import java.security.GeneralSecurityException;
    import java.util.Enumeration;
    import java.util.HashMap;
    import java.util.Map;
    
    import javax.security.auth.kerberos.KerberosKey;
    import javax.security.auth.login.LoginException;
    
    import org.bouncycastle.asn1.ASN1InputStream;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top