- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 127 for converter (0.28 sec)
-
android/guava-tests/test/com/google/common/base/ConverterTest.java
assertNull(converter.convert(null)); assertNull(converter.reverse().convert(null)); assertEquals((Integer) 5, converter.convert("5")); assertEquals("5", converter.reverse().convert(5)); } // Null-passthrough violates our nullness annotations, so we don't support it under J2KT. @J2ktIncompatible
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/EnhancedConverterLookup.java
@Override public void registerConverter(ConfigurationConverter converter) { delegate.registerConverter(converter); } @Override public ConfigurationConverter lookupConverterForType(Class<?> type) throws ComponentConfigurationException { ConfigurationConverter converter = delegate.lookupConverterForType(type); return converter.getClass().equals(ObjectWithFieldsConverter.class)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java
public void init() throws IOException { // nothing } @Override public List<String> convert(final String text, final String field, final String... langs) throws IOException { final ReadingConverter converter; if (langs == null || langs.length == 0) { converter = new LangAnayzerConverter(null); } else { final ReadingConverterChain chain = new ReadingConverterChain();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
public void testStringConverter_convert() { Converter<String, Integer> converter = Ints.stringConverter(); assertThat(converter.convert("1")).isEqualTo((Integer) 1); assertThat(converter.convert("0")).isEqualTo((Integer) 0); assertThat(converter.convert("-1")).isEqualTo((Integer) (-1)); assertThat(converter.convert("0xff")).isEqualTo((Integer) 255); assertThat(converter.convert("0xFF")).isEqualTo((Integer) 255);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
public void testStringConverter_convert() { Converter<String, Long> converter = Longs.stringConverter(); assertThat(converter.convert("1")).isEqualTo((Long) 1L); assertThat(converter.convert("0")).isEqualTo((Long) 0L); assertThat(converter.convert("-1")).isEqualTo((Long) (-1L)); assertThat(converter.convert("0xff")).isEqualTo((Long) 255L); assertThat(converter.convert("0xFF")).isEqualTo((Long) 255L);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
public void testStringConverter_convert() { Converter<String, Double> converter = Doubles.stringConverter(); assertThat(converter.convert("1.0")).isEqualTo((Double) 1.0); assertThat(converter.convert("0.0")).isEqualTo((Double) 0.0); assertThat(converter.convert("-1.0")).isEqualTo((Double) (-1.0)); assertThat(converter.convert("1")).isEqualTo((Double) 1.0); assertThat(converter.convert("0")).isEqualTo((Double) 0.0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
public void testStringConverter_convert() { Converter<String, Float> converter = Floats.stringConverter(); assertThat(converter.convert("1.0")).isEqualTo((Float) 1.0f); assertThat(converter.convert("0.0")).isEqualTo((Float) 0.0f); assertThat(converter.convert("-1.0")).isEqualTo((Float) (-1.0f)); assertThat(converter.convert("1")).isEqualTo((Float) 1.0f); assertThat(converter.convert("0")).isEqualTo((Float) 0.0f);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
public void testStringConverter_convert() { Converter<String, Double> converter = Doubles.stringConverter(); assertThat(converter.convert("1.0")).isEqualTo((Double) 1.0); assertThat(converter.convert("0.0")).isEqualTo((Double) 0.0); assertThat(converter.convert("-1.0")).isEqualTo((Double) (-1.0)); assertThat(converter.convert("1")).isEqualTo((Double) 1.0); assertThat(converter.convert("0")).isEqualTo((Double) 0.0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
public void testStringConverter_convert() { Converter<String, Float> converter = Floats.stringConverter(); assertThat(converter.convert("1.0")).isEqualTo((Float) 1.0f); assertThat(converter.convert("0.0")).isEqualTo((Float) 0.0f); assertThat(converter.convert("-1.0")).isEqualTo((Float) (-1.0f)); assertThat(converter.convert("1")).isEqualTo((Float) 1.0f); assertThat(converter.convert("0")).isEqualTo((Float) 0.0f);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
docs/pt/docs/advanced/response-directly.md
Por exemplo, você não pode colocar um modelo do Pydantic em uma `JSONResponse` sem antes convertê-lo em um `dict` com todos os tipos de dados (como `datetime`, `UUID`, etc) convertidos para tipos compatíveis com JSON. Para esses casos, você pode usar o `jsonable_encoder` para converter seus dados antes de repassá-los para a resposta: ```Python hl_lines="6-7 21-22" {!../../docs_src/response_directly/tutorial001.py!}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0)