Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for converterTo (0.14 sec)

  1. guava-tests/test/com/google/common/base/CaseFormatTest.java

      public void testConverterToForward() {
        assertEquals("FooBar", UPPER_UNDERSCORE.converterTo(UPPER_CAMEL).convert("FOO_BAR"));
        assertEquals("fooBar", UPPER_UNDERSCORE.converterTo(LOWER_CAMEL).convert("FOO_BAR"));
        assertEquals("FOO_BAR", UPPER_CAMEL.converterTo(UPPER_UNDERSCORE).convert("FooBar"));
        assertEquals("FOO_BAR", LOWER_CAMEL.converterTo(UPPER_UNDERSCORE).convert("fooBar"));
      }
    
      public void testConverterToBackward() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/CaseFormat.java

      }
    
      /**
       * Returns a serializable {@code Converter} that converts strings from this format to {@code
       * targetFormat}.
       *
       * @since 16.0
       */
      public Converter<String, String> converterTo(CaseFormat targetFormat) {
        return new StringConverter(this, targetFormat);
      }
    
      private static final class StringConverter extends Converter<String, String>
          implements Serializable {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/CaseFormat.java

      }
    
      /**
       * Returns a serializable {@code Converter} that converts strings from this format to {@code
       * targetFormat}.
       *
       * @since 16.0
       */
      public Converter<String, String> converterTo(CaseFormat targetFormat) {
        return new StringConverter(this, targetFormat);
      }
    
      private static final class StringConverter extends Converter<String, String>
          implements Serializable {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  4. 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)
  5. .github/ISSUE_TEMPLATE/tflite-converter-issue.md

    ---
    name: TensorFlow Lite Converter Issue
    about: Use this template for reporting issues during model conversion to TFLite
    labels: 'TFLiteConverter'
    
    ---
    
    ### 1. System information
    
    - OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
    - TensorFlow installation (pip package or built from source):
    - TensorFlow library (version, if pip package or github SHA, if built from source):
    
    ### 2. Code
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jun 15 03:35:58 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top