- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 64 for converties (0.16 sec)
-
android/guava/src/com/google/common/base/Converter.java
} /** * Returns a converter whose {@code convert} method applies {@code secondConverter} to the result * of this converter. Its {@code reverse} method applies the converters in reverse order. * * <p>The returned converter is serializable if {@code this} converter and {@code secondConverter} * are. */ public final <C> Converter<A, C> andThen(Converter<B, C> secondConverter) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23K bytes - Viewed (0) -
guava/src/com/google/common/base/Converter.java
} /** * Returns a converter whose {@code convert} method applies {@code secondConverter} to the result * of this converter. Its {@code reverse} method applies the converters in reverse order. * * <p>The returned converter is serializable if {@code this} converter and {@code secondConverter} * are. */ public final <C> Converter<A, C> andThen(Converter<B, C> secondConverter) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23K bytes - Viewed (1) -
android/guava/src/com/google/common/net/InetAddresses.java
* an IPv4 address or not. * * <p>IPv6 addresses are <b>coerced</b> to IPv4 addresses before being converted to integers. * * <p>As long as there are applications that assume that all IP addresses are IPv4 addresses and * can therefore be converted safely to integers (for whatever purpose) this function can be used * to handle IPv6 addresses as well until the application is suitably fixed. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 44K bytes - Viewed (1) -
android/guava/src/com/google/common/primitives/Bytes.java
return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array; } /** * Returns an array containing each value of {@code collection}, converted to a {@code byte} value * in the manner of {@link Number#byteValue}. * * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 14.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Floats.java
} private static final long serialVersionUID = 1; } /** * Returns a serializable converter object that converts between strings and floats using {@link * Float#valueOf} and {@link Float#toString()}. * * @since 16.0 */ public static Converter<String, Float> stringConverter() { return FloatConverter.INSTANCE; } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 25.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
* 2^32 + x}). The methods for which signedness is not an issue are in {@link Ints}, as well as * signed versions of methods for which signedness is an issue. * * <p>In addition, this class provides several static methods for converting an {@code int} to a * {@code String} and a {@code String} to an {@code int} that treat the {@code int} as an unsigned * number. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 13.4K bytes - Viewed (0) -
android/guava/src/com/google/common/math/IntMath.java
return sqrtFloor + lessThanBranchFree(halfSquare, x); default: throw new AssertionError(); } } private static int sqrtFloor(int x) { // There is no loss of precision in converting an int to a double, according to // http://java.sun.com/docs/books/jls/third_edition/html/conversions.html#5.1.2 return (int) Math.sqrt(x); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 23.5K 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(new Integer("100")), is("100")); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ShortsTest.java
Converter<String, Short> converter = Shorts.stringConverter(); assertThat(converter.convert("1")).isEqualTo((Short) (short) 1); assertThat(converter.convert("0")).isEqualTo((Short) (short) 0); assertThat(converter.convert("-1")).isEqualTo((Short) (short) (-1)); assertThat(converter.convert("0xff")).isEqualTo((Short) (short) 255); assertThat(converter.convert("0xFF")).isEqualTo((Short) (short) 255);
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) -
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);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 29.5K bytes - Viewed (0)