- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for returned (0.17 sec)
-
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java
// TODO(hhchan): It's 4 in java. Figure out why even 3 is too slow in prod mode. return 2; } // Use fewer steps in the IteratorTester in CollectionIteratorTester because it's slow in prod // mode. static int collectionIteratorTesterNumIterations() { return 3; } // TODO: Consolidate different copies in one single place. static String format(String template, Object... args) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Oct 04 15:31:40 GMT 2023 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
return CompactLinkedHashMap.createWithExpectedSize(expectedSize); } /** Returns the platform preferred implementation of a set based on a hash table. */ static <E extends @Nullable Object> Set<E> newHashSetWithExpectedSize(int expectedSize) { return CompactHashSet.createWithExpectedSize(expectedSize); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Platform.java
* @param string the string to test and possibly return * @return {@code string} if it is not null; {@code ""} otherwise */ static String nullToEmpty(@CheckForNull String string) { return (string == null) ? "" : string; } /** * Returns the string if it is not empty, or a null string otherwise. * * @param string the string to test and possibly return
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 15 22:32:14 GMT 2024 - 3.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java
return matcher; } static String formatCompact4Digits(double value) { return "" + ((Number) (Object) value).toPrecision(4); } @JsMethod static native boolean stringIsNullOrEmpty(@Nullable String string) /*-{ return !string; }-*/; @JsMethod static native String nullToEmpty(@Nullable String string) /*-{ return string || ""; }-*/; @JsMethod
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/base/Platform.java
return String.format(Locale.ROOT, "%.4g", value); } static boolean stringIsNullOrEmpty(@CheckForNull String string) { return string == null || string.isEmpty(); } /** * Returns the string if it is not null, or an empty string otherwise. * * @param string the string to test and possibly return * @return {@code string} if it is not null; {@code ""} otherwise */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Jun 26 17:58:45 GMT 2023 - 3.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/Platform.java
try { ObjectOutputStream out = new ObjectOutputStream(bytes); out.writeObject(object); ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); return (T) requireNonNull(in.readObject()); } catch (IOException | ClassNotFoundException e) { throw new RuntimeException(e); } } private Platform() {}
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Aug 23 12:13:11 GMT 2023 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/Platform.java
try { ObjectOutputStream out = new ObjectOutputStream(bytes); out.writeObject(object); ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); return (T) requireNonNull(in.readObject()); } catch (IOException | ClassNotFoundException e) { throw new RuntimeException(e); } } private Platform() {}
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Aug 23 12:13:11 GMT 2023 - 1.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
// already using Collections.newSetFromMap and ConcurrentHashMap. return Collections.newSetFromMap(new ConcurrentHashMap<E, Boolean>()); } static <E> Set<E> newLinkedHashSetWithExpectedSize(int expectedSize) { return Sets.newLinkedHashSetWithExpectedSize(expectedSize); } /** * Returns the platform preferred map implementation that preserves insertion order when used only * for insertions.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jun 29 18:16:45 GMT 2023 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Platform.java
*/ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault final class Platform { private Platform() {} /** Returns a thread-local 1024-char array. */ static char[] charBufferFromThreadLocal() { // requireNonNull accommodates Android's @RecentlyNullable annotation on ThreadLocal.get return requireNonNull(DEST_TL.get()); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 1.6K bytes - Viewed (0)