Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for Enumeration (0.75 sec)

  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);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. 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
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. 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
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/path-params.md

    <img src="/img/tutorial/path-params/image03.png">
    
    ### Trabalhando com os *enumeration* do Python
    
    O valor do *parâmetro da rota* será um *membro de enumeration*.
    
    #### Compare *membros de enumeration*
    
    Você pode comparar eles com o *membro de enumeration* no enum `ModelName` que você criou:
    
    {* ../../docs_src/path_params/tutorial005.py hl[17] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. 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.py hl[17] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (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);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top