- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 249 for Value (0.28 sec)
-
src/main/java/org/codelibs/core/convert/StringConversionUtil.java
public static String toString(final Object value, final String pattern) { if (value == null) { return null; } else if (value instanceof String) { return (String) value; } else if (value instanceof java.util.Date) { return toString((java.util.Date) value, pattern); } else if (value instanceof Number) { return toString((Number) value, pattern);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ShortsTest.java
assertThat(Shorts.checkedCast((long) value)).isEqualTo(value); } assertCastFails(GREATEST + 1L); assertCastFails(LEAST - 1L); assertCastFails(Long.MAX_VALUE); assertCastFails(Long.MIN_VALUE); } public void testSaturatedCast() { for (short value : VALUES) { assertThat(Shorts.saturatedCast((long) value)).isEqualTo(value); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 26.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeMap.java
return (ImmutableRangeMap<K, V>) EMPTY; } /** Returns an immutable range map mapping a single range to a single value. */ public static <K extends Comparable<?>, V> ImmutableRangeMap<K, V> of(Range<K> range, V value) { return new ImmutableRangeMap<>(ImmutableList.of(range), ImmutableList.of(value)); } @SuppressWarnings("unchecked") public static <K extends Comparable<?>, V> ImmutableRangeMap<K, V> copyOf(
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 14.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java
if (executionProperties.getProperty(sysprop) == null) { executionProperties.setProperty(sysprop, "value"); } ExpressionEvaluator ee = createExpressionEvaluator(null, executionProperties); Object value = ee.evaluate("${" + sysprop + "}"); assertEquals("value", value); } @Test
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 19.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java
* @return the type */ @Nonnull @Override default Type require(@Nonnull String id) { return lookup(id).orElseThrow(() -> new IllegalArgumentException("Unknown extensible enum value '" + id + "'")); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java
final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages", null); final Map<String, String> map = ResourceBundleUtil.convertMap(bundle); final String value = map.get("ECL0001"); System.out.println(value); assertThat(value, is(notNullValue())); } /** * @throws Exception */ @Test public void testGetBundle() throws Exception {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
final int value; IntegerDiv10(int value) { this.value = value; } @Override public int compareTo(IntegerDiv10 o) { return value / 10 - o.value / 10; } @Override public String toString() { return Integer.toString(value); } } public void testCopyOfDuplicateKey() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 28.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
private @Nullable V value; boolean loading = false; public DummyValueReference() { this.loading = true; } public DummyValueReference(V value) { this.value = value; } public static <K, V> DummyValueReference<K, V> create(V value) { return new DummyValueReference<>(value); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 14 23:06:48 GMT 2024 - 112.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
private @Nullable V value; boolean loading = false; public DummyValueReference() { this.loading = true; } public DummyValueReference(V value) { this.value = value; } public static <K, V> DummyValueReference<K, V> create(V value) { return new DummyValueReference<>(value); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 14 23:06:48 GMT 2024 - 110.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java
.name(settingsProp.getName()) .value(settingsProp.getValue()) .location("name", toLocation(settingsProp.getLocation("name"))) .location("value", toLocation(settingsProp.getLocation("value"))) .build()); } ActivationOS settingsOs = settingsActivation.getOs();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 13.4K bytes - Viewed (0)