Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 326 for Converter (0.12 sec)

  1. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

        /**
         * Parses a sequence of XML elements and converts them to the given target type.
         *
         * @param parser The XML parser
         * @param toType The target type
         * @return Converted instance of the target type
         */
        private Object parse(final MXParser parser, final TypeLiteral<?> toType) throws Exception {
            parser.require(XmlPullParser.START_TAG, null, null);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

         * @return The converted {@literal String}
         */
        public static String toString(final Object value) {
            return toString(value, null);
        }
    
        /**
         * Converts the given object to a string.
         *
         * @param value
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@literal String}
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

         *            The object to convert
         * @return The converted {@link Float}
         */
        public static Float toFloat(final Object o) {
            return toFloat(o, null);
        }
    
        /**
         * Converts to {@link Float}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link Float}
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/PropertyDesc.java

        /**
         * Converts the value to the appropriate type if necessary based on the property type.
         *
         * @param <T>
         *            the converted type
         * @param value
         *            the value to be converted
         * @return the converted value
         */
        <T> T convertIfNeed(Object value);
    
        /**
         * Returns the {@link BeanDesc}.
         *
         * @return the {@link BeanDesc}
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

         *            The object to convert
         * @return The converted {@link Short}
         */
        public static Short toShort(final Object o) {
            return toShort(o, null);
        }
    
        /**
         * Converts to {@link Short}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link Short}
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/BigIntegerConversionUtil.java

         * @return The converted {@link BigInteger}
         */
        public static BigInteger toBigInteger(final Object o) {
            return toBigInteger(o, null);
        }
    
        /**
         * Converts to {@link BigInteger}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link BigInteger}
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/UrlEscapers.java

       *       the same.
       *   <li>The special characters ".", "-", "*", and "_" remain the same.
       *   <li>The space character " " is converted into a plus sign "+".
       *   <li>All other characters are converted into one or more bytes using UTF-8 encoding and each
       *       byte is then represented by the 3-character string "%XY", where "XY" is the two-digit,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java

         * @return The converted {@link BigDecimal}
         */
        public static BigDecimal toBigDecimal(final Object o) {
            return toBigDecimal(o, null);
        }
    
        /**
         * Converts to {@link BigDecimal}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link BigDecimal}
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/OsService.java

         * Returns the OS full name as reported by the system property "os.name".
         * The value is converted to lowercase for consistency.
         *
         * @return the operating system name (never null)
         */
        @Nonnull
        String name();
    
        /**
         * Returns the OS architecture as reported by the system property "os.arch".
         * The value is converted to lowercase for consistency.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Feb 10 14:12:18 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. tests/test_typing_python39.py

    
    @needs_py310
    def test_typing():
        types = {
            list[int]: [1, 2, 3],
            dict[str, list[int]]: {"a": [1, 2, 3], "b": [4, 5, 6]},
            set[int]: [1, 2, 3],  # `set` is converted to `list`
            tuple[int, ...]: [1, 2, 3],  # `tuple` is converted to `list`
        }
        for test_type, expect in types.items():
            app = FastAPI()
    
            @app.post("/", response_model=test_type)
            def post_endpoint(input: test_type):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 709 bytes
    - Viewed (0)
Back to top