- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for converterTo (0.05 sec)
-
android/guava-tests/test/com/google/common/base/CaseFormatTest.java
public void testConverterToForward() { assertThat(UPPER_UNDERSCORE.converterTo(UPPER_CAMEL).convert("FOO_BAR")).isEqualTo("FooBar"); assertThat(UPPER_UNDERSCORE.converterTo(LOWER_CAMEL).convert("FOO_BAR")).isEqualTo("fooBar"); assertThat(UPPER_CAMEL.converterTo(UPPER_UNDERSCORE).convert("FooBar")).isEqualTo("FOO_BAR"); assertThat(LOWER_CAMEL.converterTo(UPPER_UNDERSCORE).convert("fooBar")).isEqualTo("FOO_BAR"); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CaseFormatTest.java
public void testConverterToForward() { assertThat(UPPER_UNDERSCORE.converterTo(UPPER_CAMEL).convert("FOO_BAR")).isEqualTo("FooBar"); assertThat(UPPER_UNDERSCORE.converterTo(LOWER_CAMEL).convert("FOO_BAR")).isEqualTo("fooBar"); assertThat(UPPER_CAMEL.converterTo(UPPER_UNDERSCORE).convert("FooBar")).isEqualTo("FOO_BAR"); assertThat(LOWER_CAMEL.converterTo(UPPER_UNDERSCORE).convert("fooBar")).isEqualTo("FOO_BAR"); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Dec 03 18:46:33 UTC 2025 - 6.5K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Dec 03 18:46:33 UTC 2025 - 6.5K bytes - Viewed (0) -
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) -
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) -
src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java
* @param langFieldName The name of the field that contains language information. * @param readingConverter The converter to use for reading fields. * @param contentsReadingConverter The converter to use for reading content fields. * @param normalizer The normalizer to use for normalizing field values. * @param analyzer The analyzer to use for analyzing field values.Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.1K bytes - Viewed (0) -
CLAUDE.md
indexName, getSearchAlias(index), getUpdateAlias(index)); } ``` **Exception Handling:** ```java try { converter.init(); } catch (Exception e) { throw new SuggesterException("Failed to initialize converter: " + converter.getClass().getName(), e); } ``` **Resource Management:** ```java try (InputStream is = getClass().getClassLoader()
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 8.9K 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(Integer.valueOf("100")), is("100")); }
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java
*/ @Test public void testGetAsObjectAndGetAsString() throws Exception { final DateConverter converter = new DateConverter("yyyy/MM/dd"); final Date result = (Date) converter.getAsObject("2008/01/16"); System.out.println(result); assertThat(converter.getAsString(result), is("2008/01/16")); } /** * @throws Exception */ @TestRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0)