- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 167 for ValueOf (0.04 seconds)
-
guava/src/com/google/common/collect/Multisets.java
* followed by the characters " x " (space, x and space) followed by the count. Elements and * counts are converted to strings as by {@code String.valueOf}. */ @Override public String toString() { String text = String.valueOf(getElement()); int n = getCount(); return (n == 1) ? text : (text + " x " + n); } } /** An implementation of {@link Multiset#equals}. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Dec 13 15:40:45 GMT 2024 - 17.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
for (int i = 0; i < 1000; i++) { // Truncate to even key, so we have put(0, "0") then put(0, "1"). Half the entries are // duplicates. Integer key = i & ~1; String value = String.valueOf(i); builder.put(key, value); expected.put(key, value); } ImmutableMap<Integer, String> map = builder.buildKeepingLast(); assertThat(map).hasSize(500);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 36.7K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
} /** Sets this certificate's serial number. If unset the serial number will be 1. */ fun serialNumber(serialNumber: Long) = apply { serialNumber(BigInteger.valueOf(serialNumber)) } /** * Sets the public/private key pair used for this certificate. If unset a key pair will be * generated. */ fun keyPair(keyPair: KeyPair) = apply {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 21.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
* * @author mike nonemacher */ @NullUnmarked public class PopulatedCachesTest extends TestCase { // we use integers as keys; make sure the range covers some values that ARE cached by // Integer.valueOf(int), and some that are not cached. (127 is the highest cached value.) static final int WARMUP_MIN = 120; static final int WARMUP_MAX = 135; static final int WARMUP_SIZE = WARMUP_MAX - WARMUP_MIN;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 15.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
} catch (IllegalArgumentException ex) { assertWithMessage("%s not found in exception text: %s", value, ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } // We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testCompare() { for (char x : VALUES) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 25.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
} catch (IllegalArgumentException ex) { assertWithMessage("%s not found in exception text: %s", value, ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } // We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testCompare() { for (short x : VALUES) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 27.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
fail("Cast to int should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage("%s not found in exception text: %s", value, ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } // We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testCompare() { for (int x : VALUES) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 29.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/BooleansTest.java
for (boolean y : VALUES) { // note: spec requires only that the sign is the same assertWithMessage("%s, %s", x, y) .that(Booleans.compare(x, y)) .isEqualTo(Boolean.valueOf(x).compareTo(y)); } } } public void testContains() { assertThat(Booleans.contains(EMPTY, false)).isFalse(); assertThat(Booleans.contains(ARRAY_FALSE, true)).isFalse();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 25.2K bytes - Click Count (0) -
okhttp/api/android/okhttp.api
public static final fun get (Ljava/lang/String;)Lokhttp3/Protocol; public static fun getEntries ()Lkotlin/enums/EnumEntries; public fun toString ()Ljava/lang/String; public static fun valueOf (Ljava/lang/String;)Lokhttp3/Protocol; public static fun values ()[Lokhttp3/Protocol; } public final class okhttp3/Protocol$Companion { public final fun get (Ljava/lang/String;)Lokhttp3/Protocol; }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 70.3K bytes - Click Count (0)