Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 155 for convertKey (0.05 sec)

  1. src/main/java/org/codelibs/core/collection/CaseInsensitiveMap.java

                put(convertKey(entry.getKey()), entry.getValue());
            }
        }
    
        @Override
        public final V remove(final Object key) {
            return super.remove(convertKey(key));
        }
    
        @Override
        public boolean containsKey(final Object key) {
            return super.containsKey(convertKey(key));
        }
    
        private static String convertKey(final Object key) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/Converter.java

         * @return the value as an object
         */
        Object getAsObject(String value);
    
        /**
         * Returns {@literal true} if this converter can handle the specified type.
         *
         * @param clazz
         *            the type. Must not be {@literal null}
         * @return {@literal true} if this converter can handle the specified type
         */
        boolean isTarget(Class<?> clazz);
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. .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 Dec 30 12:39:10 UTC 2025
    - Last Modified: Wed Jun 15 03:35:58 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverterTest.java

     */
    package org.codelibs.fess.suggest.converter;
    
    import java.util.List;
    
    import junit.framework.TestCase;
    
    public class KatakanaToAlphabetConverterTest extends TestCase {
    
        private KatakanaToAlphabetConverter converter;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            converter = new KatakanaToAlphabetConverter();
            converter.init();
        }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. 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.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. 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:
    
    {* ../../docs_src/response_directly/tutorial001_py310.py hl[5:6,20:21] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/body-updates.md

    * Criar uma cópia do modelo armazenado, atualizando seus atributos com as atualizações parciais recebidas (usando o parâmetro `update`).
    * Converter o modelo copiado em algo que possa ser armazenado no seu banco de dados (por exemplo, usando o `jsonable_encoder`).
        * Isso é comparável ao uso do método `.model_dump()`, mas garante (e converte) os valores para tipos de dados que possam ser convertidos em JSON, por exemplo, `datetime` para `str`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

                // Use the outputs of this converter as inputs for the next converter
                currentInputs = nextInputs;
            }
    
            return new ArrayList<>(resultSet);
        }
    
        /**
         * Adds a converter to the chain.
         * @param converter The converter to add.
         */
        public void addConverter(final ReadingConverter converter) {
            converters.add(converter);
        }
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 3.3K bytes
    - Viewed (1)
  9. docs/pt/docs/tutorial/body-nested-models.md

    Você também pode usar modelos Pydantic como subtipos de `list`, `set`, etc:
    
    {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *}
    
    Isso vai esperar(converter, validar, documentar, etc) um corpo JSON tal qual:
    
    ```JSON hl_lines="11"
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2,
        "tags": [
            "rock",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/EnumsTest.java

      public void testStringConverter_convert() {
        Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class);
        assertEquals(TestEnum.CHEETO, converter.convert("CHEETO"));
        assertEquals(TestEnum.HONDA, converter.convert("HONDA"));
        assertEquals(TestEnum.POODLE, converter.convert("POODLE"));
        assertThat(converter.convert(null)).isNull();
        assertThat(converter.reverse().convert(null)).isNull();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top