Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for enumeration (0.16 sec)

  1. src/main/java/org/codelibs/core/collection/EnumerationIterator.java

         *
         * @param <T>
         *            列挙する要素の型
         * @param enumeration
         *            {@link Enumeration}。{@literal null}であってはいけません
         * @return {@link Enumeration}をラップした{@link Iterable}
         */
        public static <T> Iterable<T> iterable(final Enumeration<T> enumeration) {
            assertArgumentNotNull("enumeration", enumeration);
    
            return () -> new EnumerationIterator<>(enumeration);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/MultiParentClassLoader.java

            }
            return null;
        }
    
        @SuppressWarnings("URLEqualsHashCode")
        @Override
        public Enumeration<URL> getResources(String name) throws IOException {
            Set<URL> resources = new LinkedHashSet<URL>();
            for (ClassLoader parent : parents) {
                Enumeration<URL> parentResources = parent.getResources(name);
                while (parentResources.hasMoreElements()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. 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;
    
    /**
     * {@link Iterator}を {@link Enumeration}にするためのアダブタです。
     *
     * @author higa
     * @param <T>
     *            列挙する要素の型
     */
    public class IteratorEnumeration<T> implements Enumeration<T> {
    
        /** 反復子 */
        protected final Iterator<T> iterator;
    
        /**
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. src/mdo/java/WrapperProperties.java

        public boolean isEmpty() {
            return getter.get().isEmpty();
        }
    
        @Override
        public Enumeration<Object> keys() {
            return Collections.enumeration((Set) getter.get().keySet());
        }
    
        @Override
        public Enumeration<Object> elements() {
            return Collections.enumeration((Collection) getter.get().values());
        }
    
        @Override
        public boolean contains(Object value) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 16:30:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. 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;
    
    /**
     * 空の {@link Enumeration}です。
     *
     * @author higa
     * @param <T>
     *            列挙する要素の型
     */
    public class EmptyEnumeration<T> extends IteratorEnumeration<T> {
    
        /**
         * {@link EmptyEnumeration}を作成します。
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/path-params.md

    ### Working with Python *enumerations*
    
    The value of the *path parameter* will be an *enumeration member*.
    
    #### Compare *enumeration members*
    
    You can compare it with the *enumeration member* in your created enum `ModelName`:
    
    ```Python hl_lines="17"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### Get the *enumeration value*
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/path-params.md

    ### Trabajando con los *enumerations* de Python
    
    El valor del *parámetro de path* será un *enumeration member*.
    
    #### Compara *enumeration members*
    
    Puedes compararlo con el *enumeration member* en el enum (`ModelName`) que creaste:
    
    ```Python hl_lines="17"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### Obtén el *enumeration value*
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. 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:
    
    ```Python hl_lines="17"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/misc/DynamicProperties.java

    import java.io.OutputStream;
    import java.io.PrintStream;
    import java.io.PrintWriter;
    import java.io.Reader;
    import java.io.Writer;
    import java.nio.file.Path;
    import java.util.Collection;
    import java.util.Enumeration;
    import java.util.InvalidPropertiesFormatException;
    import java.util.Map;
    import java.util.Properties;
    import java.util.Set;
    
    import org.codelibs.core.exception.FileAccessException;
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top