- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 242 for Converted (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java
*/ protected BooleanConversionUtil() { } /** * Converts to {@link Boolean}. * * @param o * The object to convert * @return The converted {@link Boolean} */ public static Boolean toBoolean(final Object o) { return switch (o) { case null -> null; case Boolean b -> b; case Number n -> n.intValue() != 0;Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 1.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java
public WildcardQueryCommand() { super(); } private static final Logger logger = LogManager.getLogger(WildcardQueryCommand.class); /** * Flag indicating whether wildcard terms should be converted to lowercase. */ protected boolean lowercaseWildcard = true; @Override protected String getQueryClassName() { return WildcardQuery.class.getSimpleName(); } @Override
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/RenderDataUtil.java
} /** * Registers a value in the render data with the specified key. * If the value is an Entity object, it will be converted to a Map using BeanUtil. * If the value is a Collection containing Entity objects, each Entity will be converted to a Map. * For other types of values, they are registered directly. * * @param data the RenderData object to register the value inCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
} /** * Converts to the appropriate {@link Number}. * * @param type * Target type * @param o * Source object * @return {@link Number} converted to {@literal type} */ public static Object convertNumber(final Class<?> type, final Object o) { if (type == Integer.class) { return IntegerConversionUtil.toInteger(o);Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.6K bytes - Click Count (0) -
guava/src/com/google/common/math/Stats.java
this.min = min; this.max = max; } /** * Returns statistics over a dataset containing the given values. * * @param values a series of values, which will be converted to {@code double} values (this may * cause loss of precision) */ public static Stats of(Iterable<? extends Number> values) { StatsAccumulator accumulator = new StatsAccumulator();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 24.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
} /** * Sets the default timeout for complete calls. A value of 0 means no timeout, otherwise values * must be between 1 and [Integer.MAX_VALUE] when converted to milliseconds. * * The call timeout spans the entire call: resolving DNS, connecting, writing the request body, * server processing, and reading the response body. If the call requires redirects or retriesCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 51.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/DocumentUtil.java
* @param clazz the class type to convert the value to * @param defaultValue the default value to return if the key is not found or conversion fails * @return the converted value or the default value if not found */ public static <T> T getValue(final Map<String, Object> doc, final String key, final Class<T> clazz, final T defaultValue) { final T value = getValue(doc, key, clazz);Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 7.2K bytes - Click Count (0) -
docs/en/docs/advanced/response-directly.md
For example, you cannot put a Pydantic model in a `JSONResponse` without first converting it to a `dict` with all the data types (like `datetime`, `UUID`, etc) converted to JSON-compatible types. For those cases, you can use the `jsonable_encoder` to convert your data before passing it to a response: {* ../../docs_src/response_directly/tutorial001_py310.py hl[5:6,20:21] *}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.1K bytes - Click Count (0) -
docs/en/docs/tutorial/body-nested-models.md
You couldn't get this kind of editor support if you were working directly with `dict` instead of Pydantic models. But you don't have to worry about them either, incoming dicts are converted automatically and your output is converted automatically to JSON too. ## Bodies of arbitrary `dict`s { #bodies-of-arbitrary-dicts } You can also declare a body as a `dict` with keys of some type and values of some other type.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java
return 10; } /** * Initializes the converter. * * @throws IOException if an I/O error occurs during initialization. */ void init() throws IOException; /** * Converts the given text into a list of readings based on the specified field and languages. * * @param text the text to be converted. * @param field the field to be used for conversion.Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Nov 17 14:28:21 GMT 2025 - 1.6K bytes - Click Count (0)