Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for enumeration (0.12 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/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            @Override
            public long getDateHeader(String name) {
                return -1;
            }
    
            @Override
            public Enumeration<String> getHeaders(String name) {
                return null;
            }
    
            @Override
            public Enumeration<String> getHeaderNames() {
                return null;
            }
    
            @Override
            public int getIntHeader(String name) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

            public long getDateHeader(String name) {
                return -1;
            }
    
            @Override
            public java.util.Enumeration<String> getHeaders(String name) {
                return java.util.Collections.emptyEnumeration();
            }
    
            @Override
            public java.util.Enumeration<String> getHeaderNames() {
                return java.util.Collections.emptyEnumeration();
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Enumeration;
    import java.util.Locale;
    import java.util.Map;
    import java.util.MissingResourceException;
    import java.util.ResourceBundle;
    
    import org.codelibs.core.misc.LocaleUtil;
    
    /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 993 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. android/guava/src/com/google/common/collect/Iterators.java

          Enumeration<T> enumeration) {
        checkNotNull(enumeration);
        return new UnmodifiableIterator<T>() {
          @Override
          public boolean hasNext() {
            return enumeration.hasMoreElements();
          }
    
          @Override
          @ParametricNullness
          public T next() {
            return enumeration.nextElement();
          }
        };
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

    import java.time.ZonedDateTime;
    import java.time.format.DateTimeFormatter;
    import java.util.ArrayList;
    import java.util.Base64;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.Enumeration;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Objects;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.regex.Matcher;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

                    return null;
                }
    
                @Override
                public java.util.Enumeration<String> getHeaders(String name) {
                    return null;
                }
    
                @Override
                public java.util.Enumeration<String> getHeaderNames() {
                    return null;
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
Back to top