Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 288 for literals (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/core/xml/DocumentBuilderUtil.java

         */
        protected DocumentBuilderUtil() {
        }
    
        /**
         * Parses the XML.
         *
         * @param builder
         *            {@link DocumentBuilder}; must not be {@literal null}.
         * @param is
         *            Input stream; must not be {@literal null}.
         * @return {@link Document}
         */
        public static Document parse(final DocumentBuilder builder, final InputStream is) {
            assertArgumentNotNull("builder", builder);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/escape/UnicodeEscaper.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * An {@link Escaper} that converts literal text into a format safe for inclusion in a particular
     * context (such as an XML document). Typically (but not always), the inverse process of
     * "unescaping" the text is performed automatically by the relevant parser.
     *
     * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 24 04:06:11 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java

        }
    
        /**
         * A method that wraps the exception handling of {@link ZipInputStream#getNextEntry()}.
         *
         * @param zis
         *            {@link ZipInputStream}. Must not be {@literal null}.
         * @return {@link ZipEntry}
         * @see ZipInputStream#getNextEntry()
         */
        public static ZipEntry getNextEntry(final ZipInputStream zis) {
            assertArgumentNotNull("zis", zis);
    
            try {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. scripts/label_approved.py

    import logging
    from typing import Literal
    
    from github import Github
    from github.PullRequestReview import PullRequestReview
    from pydantic import BaseModel, SecretStr
    from pydantic_settings import BaseSettings
    
    
    class LabelSettings(BaseModel):
        await_label: str | None = None
        number: int
    
    
    default_config = {"approved-2": LabelSettings(await_label="awaiting-review", number=2)}
    
    
    class Settings(BaseSettings):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Jun 17 07:50:19 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         *
         * @param map the map
         * @return {@literal true} if the map is {@literal null} or empty
         */
        public static boolean isEmpty(final Map<?, ?> map) {
            return map == null || map.isEmpty();
        }
    
        /**
         * Returns {@literal true} if the given {@link Map} is not {@literal null} and not empty.
         *
         * @param map the map
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/collection/ArrayIterator.java

        /**
         * Returns an {@link Iterable} that wraps the array for use in a for-each statement.
         *
         * @param <T> the type of elements
         * @param items the array of elements to iterate (must not be {@literal null})
         * @return an {@link Iterable} wrapping the array
         */
        public static <T> Iterable<T> iterable(final T... items) {
            assertArgumentNotNull("items", items);
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  7. api/maven-api-di/src/main/java/org/apache/maven/api/di/Qualifier.java

     * Custom qualifier annotations should be annotated with {@code @Qualifier}.
     * <p>
     * Example of creating a custom qualifier:
     * <pre>
     * {@literal @}Qualifier
     * {@literal @}Retention(RUNTIME)
     * public @interface Database {
     *     String value();
     * }
     * </pre>
     *
     * @see Named
     * @since 4.0.0
     */
    @Target(ANNOTATION_TYPE)
    @Retention(RUNTIME)
    @Documented
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

        /**
         * Retrieves and returns the specified object from the given initial context.
         *
         * @param ctx
         *            The initial context. Must not be {@literal null}.
         * @param jndiName
         *            The name of the object to look up. Must not be {@literal null} or an empty string.
         * @return The object bound to <code>jndiName</code>.
         * @throws NamingRuntimeException
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/sql/ResultSetUtil.java

            }
        }
    
        /**
         * Moves the result set to the next position.
         *
         * @param resultSet
         *            The result set. Must not be {@literal null}.
         * @return Whether the result set successfully moved to the next position.
         */
        public static boolean next(final ResultSet resultSet) {
            assertArgumentNotNull("resultSet", resultSet);
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/collection/EnumerationIterator.java

        /**
         * Returns an {@link Iterable} that wraps an {@link Enumeration} for use in a for-each statement.
         *
         * @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);
    
    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)
Back to Top