- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 96 for converterTo (0.09 sec)
-
android/guava/src/com/google/common/base/Converter.java
} /** * Returns a converter whose {@code convert} method applies {@code secondConverter} to the result * of this converter. Its {@code reverse} method applies the converters in reverse order. * * <p>The returned converter is serializable if {@code this} converter and {@code secondConverter} * are. */ public final <C> Converter<A, C> andThen(Converter<B, C> secondConverter) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 23K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java
String s; while ((s = queue.poll()) != null && convertedTexts.size() <= getMaxReadingNum()) { final List<String> results = converter.convert(s, field, lang); convertedTexts.addAll(results); } queue.addAll(convertedTexts); } return convertedTexts; } public void addConverter(final ReadingConverter converter) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConverterLookup.java
import org.codehaus.plexus.component.configurator.converters.ConfigurationConverter; import org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter; import org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup; import org.codehaus.plexus.component.configurator.converters.lookup.DefaultConverterLookup; class EnhancedConverterLookup implements ConverterLookup {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ConverterTest.java
}; Function<Object, String> backward = toStringFunction(); Converter<String, Number> converter = Converter.<String, Number>from(forward, backward); assertNull(converter.convert(null)); assertNull(converter.reverse().convert(null)); assertEquals((Integer) 5, converter.convert("5")); assertEquals("5", converter.reverse().convert(5)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 01 16:09:28 UTC 2024 - 8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java
import org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter; import org.codehaus.plexus.component.configurator.converters.basic.AbstractBasicConverter; import org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter; import org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptions.java
import java.util.List; import java.util.Map; import org.codelibs.core.beans.Converter; import org.codelibs.core.beans.converter.DateConverter; import org.codelibs.core.beans.converter.NumberConverter; import org.codelibs.core.beans.converter.SqlDateConverter; import org.codelibs.core.beans.converter.TimeConverter; import org.codelibs.core.beans.converter.TimestampConverter; import org.codelibs.core.convert.DateConversionUtil;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 18.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/encoder.md
{!> ../../docs_src/encoder/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="5 22" {!> ../../docs_src/encoder/tutorial001.py!} ``` //// Neste exemplo, ele converteria o modelo Pydantic em um `dict`, e o `datetime` em um `str`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
docs/pt/docs/advanced/response-directly.md
## Retornando uma `Response` O exemplo acima mostra todas as partes que você precisa, mas ainda não é muito útil, já que você poderia ter retornado o `item` diretamente, e o **FastAPI** colocaria em uma `JSONResponse` para você, convertendo em um `dict`, etc. Tudo isso por padrão. Agora, vamos ver como você pode usar isso para retornar uma resposta personalizada.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-updates.md
Você pode usar `jsonable_encoder` para converter os dados de entrada em dados que podem ser armazenados como JSON (por exemplo, com um banco de dados NoSQL). Por exemplo, convertendo `datetime` em `str`. //// tab | Python 3.10+ ```Python hl_lines="28-33" {!> ../../../docs_src/body_updates/tutorial001_py310.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 14 09:16:06 UTC 2024 - 6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/NumberConverterTest.java
final NumberConverter converter = new NumberConverter("##0"); assertThat(converter.getAsObject("100"), is((Object) Long.valueOf("100"))); } /** * @throws Exception */ @Test public void testGetAsString() throws Exception { final NumberConverter converter = new NumberConverter("##0"); assertThat(converter.getAsString(new Integer("100")), is("100")); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.7K bytes - Viewed (0)