- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 402 for Number (0.16 sec)
-
android/guava/src/com/google/common/net/HostAndPort.java
* * @param host the host string to parse. Must not contain a port number. * @param port a port number from [0..65535] * @return if parsing was successful, a populated HostAndPort object. * @throws IllegalArgumentException if {@code host} contains a port number, or {@code port} is out * of range. */ public static HostAndPort fromParts(String host, int port) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Aug 22 20:55:57 GMT 2023 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java
} public void testCopyOf_imap_valid() { ImmutableMap<Class<? extends Number>, ? extends Number> in = ImmutableMap.of(Number.class, 0, Double.class, Math.PI); ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in); assertEquals(2, map.size()); Number zero = map.getInstance(Number.class); assertEquals(0, zero); Double pi = map.getInstance(Double.class);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Striped.java
* bulkGet(keys)} with a relative large number of keys can cause an excessive number of shared * stripes (much like the birthday paradox, where much fewer than anticipated birthdays are needed * for a pair of them to match). Please consider carefully the implications of the number of * stripes, the intended concurrency level, and the typical number of keys used in a {@code
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 10 20:55:18 GMT 2023 - 20.3K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/Serialization.java
* Reads a count corresponding to a serialized map, multiset, or multimap. It returns the size of * a map serialized by {@link #writeMap(Map, ObjectOutputStream)}, the number of distinct elements * in a multiset serialized by {@link #writeMultiset(Multiset, ObjectOutputStream)}, or the number * of distinct keys in a multimap serialized by {@link #writeMultimap(Multimap, * ObjectOutputStream)}. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Mar 06 16:06:58 GMT 2023 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ConcurrentHashMultiset.java
} } /** * Removes a number of occurrences of the specified element from this multiset. If the multiset * contains fewer than this number of occurrences to begin with, all occurrences will be removed. * * @param element the element whose occurrences should be removed * @param occurrences the number of occurrences of the element to remove
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 20.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
* hexadecimal number in lower case. * * <p>Note that if the output is considered to be a single hexadecimal number, whether this string * is big-endian or little-endian depends on the byte order of {@link #asBytes}. This may be * surprising for implementations of {@code HashCode} that represent the number in big-endian
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 12.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java
return string || ""; }-*/; @JsMethod static native String emptyToNull(@Nullable String string) /*-{ return string || null; }-*/; @JsType(isNative = true, name = "number", namespace = GLOBAL) private interface Number { double toPrecision(int precision); } static CommonPattern compilePattern(String pattern) { throw new UnsupportedOperationException(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 17:58:45 GMT 2023 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumHashBiMap.java
stream.defaultReadObject(); keyTypeOrObjectUnderJ2cl = (Class<K>) requireNonNull(stream.readObject()); /* * TODO: cpovirk - Pre-size the HashMap based on the number of enum values? (But *not* based on * the number of entries in the map, as that makes it easy for hostile inputs to trigger lots of * allocation—not that any program should be deserializing hostile inputs to begin with!) */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Aug 24 01:40:03 GMT 2023 - 5.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/Utf8Test.java
// Anything not assigned was the default 0. return expected; } /** * Helper to run the loop to test all the permutations for the number of bytes specified. * * @param numBytes the number of bytes in the byte array * @param expectedCount the expected number of roundtrippable permutations */ @GwtIncompatible // java.nio.charset.Charset private static void testBytes(int numBytes, long expectedCount) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharStreams.java
* close or flush either object. * * @param from the object to read from * @param to the object to write to * @return the number of characters copied * @throws IOException if an I/O error occurs */ @CanIgnoreReturnValue public static long copy(Readable from, Appendable to) throws IOException {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 10.9K bytes - Viewed (0)