- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 291 for convertKey (0.06 seconds)
-
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)Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/converter/DateConverter.java
*/ package org.codelibs.core.beans.converter; import static org.codelibs.core.lang.StringUtil.isEmpty; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.Date; import org.codelibs.core.beans.Converter; import org.codelibs.core.convert.DateConversionUtil;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/LongConversionUtil.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/converter/TimeConverter.java
*/ package org.codelibs.core.beans.converter; import static org.codelibs.core.lang.StringUtil.isEmpty; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.sql.Time; import java.util.Date; import org.codelibs.core.beans.Converter; import org.codelibs.core.convert.StringConversionUtil;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
/** * Parses a sequence of XML elements and converts them to the given target type. * * @param parser The XML parser * @param toType The target type * @return Converted instance of the target type */ private Object parse(final MXParser parser, final TypeLiteral<?> toType) throws Exception { parser.require(XmlPullParser.START_TAG, null, null);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 15.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertThat; import java.util.Date; import java.util.HashMap; import java.util.Map; import org.codelibs.core.beans.converter.DateConverter; import org.codelibs.core.beans.converter.NumberConverter; import org.codelibs.core.exception.NullArgumentException; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; /** * @author higa
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 34.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
assertEquals((Integer) 2, converter.convert("two")); assertThrows(IllegalArgumentException.class, () -> converter.convert("three")); biMap.put("three", 3); assertEquals((Integer) 1, converter.convert("one")); assertEquals((Integer) 2, converter.convert("two")); assertEquals((Integer) 3, converter.convert("three")); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (0) -
guava/src/com/google/common/base/Enums.java
constants = populateCache(enumClass); } return constants; } } /** * Returns a serializable converter that converts between strings and {@code enum} values of type * {@code enumClass} using {@link Enum#valueOf(Class, String)} and {@link Enum#name()}. The * converter will throw an {@code IllegalArgumentException} if the argument is not the name of any * enum constant in the specified enum. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 13:41:58 GMT 2025 - 4.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/PropertyDesc.java
/** * Converts the value to the appropriate type if necessary based on the property type. * * @param <T> * the converted type * @param value * the value to be converted * @return the converted value */ <T> T convertIfNeed(Object value); /** * Returns the {@link BeanDesc}. * * @return the {@link BeanDesc}Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
Converter<String, Long> converter = Longs.stringConverter(); assertThat(converter.convert("1")).isEqualTo(1L); assertThat(converter.convert("0")).isEqualTo(0L); assertThat(converter.convert("-1")).isEqualTo(-1L); assertThat(converter.convert("0xff")).isEqualTo(255L); assertThat(converter.convert("0xFF")).isEqualTo(255L); assertThat(converter.convert("-0xFF")).isEqualTo(-255L);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.8K bytes - Click Count (0)