- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 141 for Converter (0.08 sec)
-
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/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) -
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")); assertNull(converter.convert(null)); assertNull(converter.reverse().convert(null)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 8.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java
final ReadingConverter converter; if (langs == null || langs.length == 0) { converter = new LangAnayzerConverter(null); } else { final ReadingConverterChain chain = new ReadingConverterChain(); for (final String lang : langs) { chain.addConverter(new LangAnayzerConverter(lang)); } converter = chain; }
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)