Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 368 for literal (0.05 seconds)

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

         *
         * @param iterator the iterator (must not be {@literal null})
         */
        public IteratorEnumeration(final Iterator<T> iterator) {
            assertArgumentNotNull("iterator", iterator);
            this.iterator = iterator;
        }
    
        /**
         * Creates an {@link IteratorEnumeration}.
         *
         * @param iterable the iterable object (must not be {@literal null})
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. docs_src/query_param_models/tutorial001_py310.py

    from typing import Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: FilterParams = Query()):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 422 bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/beans/Converter.java

         * @return the value as an object
         */
        Object getAsObject(String value);
    
        /**
         * Returns {@literal true} if this converter can handle the specified type.
         *
         * @param clazz
         *            the type. Must not be {@literal null}
         * @return {@literal true} if this converter can handle the specified type
         */
        boolean isTarget(Class<?> clazz);
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

        }
    
        /**
         * Converts to {@literal byte}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@literal byte}
         */
        public static byte toPrimitiveByte(final Object o) {
            return toPrimitiveByte(o, null);
        }
    
        /**
         * Converts to {@literal byte}.
         *
         * @param o
         *            The object to convert
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

     * <td>{@link DateFormat#SHORT} format</td>
     * <td>{@literal yy/MM/dd H:mm}</td>
     * </tr>
     * <tr>
     * <td>{@link DateFormat#MEDIUM} format</td>
     * <td>{@literal yyyy/MM/dd H:mm:ss}</td>
     * </tr>
     * <tr>
     * <td>{@link DateFormat#LONG} format</td>
     * <td>{@literal yyyy/MM/dd H:mm:ss z}</td>
     * </tr>
     * <tr>
     * <td>{@link DateFormat#FULL} format</td>
     * <td>{@literal yyyy'年'M'月'd'日' H'時'mm'分'ss'秒' z}</td>
     * </tr>
     * </table>
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/io/InputStreamUtil.java

        }
    
        /** Default buffer size. */
        private static final int BUF_SIZE = 4096;
    
        /**
         * Creates a {@link FileInputStream}.
         *
         * @param file the file (must not be {@literal null})
         * @return a {@link FileInputStream} to read from the file
         * @see FileInputStream#FileInputStream(File)
         */
        public static FileInputStream create(final File file) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/log/Logger.java

         *            Exception. Must not be {@literal null}.
         */
        public void log(final Throwable throwable) {
            assertArgumentNotNull("throwable", throwable);
    
            error(throwable.getMessage(), throwable);
        }
    
        /**
         * Outputs a log entry.
         *
         * @param messageCode
         *            Message code. Must not be {@literal null} or empty string.
         * @param args
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/misc/DisposableUtil.java

         */
        public static synchronized void addFirst(final Disposable disposable) {
            assertArgumentNotNull("disposable", disposable);
            disposables.addFirst(disposable);
        }
    
        /**
         * Unregisters a disposable resource.
         *
         * @param disposable
         *            A disposable resource. Must not be {@literal null}.
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  9. docs_src/query_param_models/tutorial001_an_py310.py

    from typing import Annotated, Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 443 bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

         *            The property name. Must not be {@literal null} or an empty string.
         * @param propertyType
         *            The property type. Must not be {@literal null}.
         * @param readMethod
         *            The getter method.
         * @param writeMethod
         *            The setter method.
         * @param beanDesc
         *            The {@link BeanDesc}. Must not be {@literal null}.
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 15.1K bytes
    - Click Count (0)
Back to Top