- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for Thing (0.12 sec)
-
guava-tests/test/com/google/common/collect/LenientSerializableTester.java
import java.util.Set; /** * Variant of {@link SerializableTester} that does not require the reserialized object's class to be * identical to the original. * * @author Chris Povirk */ /* * The whole thing is really @GwtIncompatible, but GwtJUnitConvertedTestModule doesn't have a * parameter for non-GWT, non-test files, and it didn't seem worth adding one for this unusual case. */ @GwtCompatible(emulated = true)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Aug 04 15:33:27 GMT 2020 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LenientSerializableTester.java
import java.util.Set; /** * Variant of {@link SerializableTester} that does not require the reserialized object's class to be * identical to the original. * * @author Chris Povirk */ /* * The whole thing is really @GwtIncompatible, but GwtJUnitConvertedTestModule doesn't have a * parameter for non-GWT, non-test files, and it didn't seem worth adding one for this unusual case. */ @GwtCompatible(emulated = true)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Aug 04 15:33:27 GMT 2020 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EquivalenceTest.java
* `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer` * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And * anyway, it's nice to avoid `Integer.valueOf` because the Android toolchain optimizes multiple * `Integer.valueOf` calls into one! So we stick with the deprecated `Integer` constructor. */
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/UrlEscapersTest.java
assertBasicUrlEscaper(e); /* * Specified as safe by RFC 2396 but not by java.net.URLEncoder. These tests will start failing * when the escaper is made compliant with RFC 2396, but that's a good thing (just change them * to assertUnescaped). */ assertEscaping(e, "%21", '!'); assertEscaping(e, "%28", '('); assertEscaping(e, "%29", ')'); assertEscaping(e, "%7E", '~');
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/UrlEscapersTest.java
assertBasicUrlEscaper(e); /* * Specified as safe by RFC 2396 but not by java.net.URLEncoder. These tests will start failing * when the escaper is made compliant with RFC 2396, but that's a good thing (just change them * to assertUnescaped). */ assertEscaping(e, "%21", '!'); assertEscaping(e, "%28", '('); assertEscaping(e, "%29", ')'); assertEscaping(e, "%7E", '~');
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue May 15 20:25:06 GMT 2018 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/LazyLogger.java
* to avoid the extra class for the lambda (and maybe more for memoizingSupplier itself) and the * indirection. * * One thing to *avoid* is a change to make each Logger user use memoizingSupplier directly: * That may introduce an extra class for each lambda (currently a dozen). */ Logger local = logger; if (local != null) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Dec 13 19:45:20 GMT 2023 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/NullsFirstOrdering.java
@Override @SuppressWarnings("nullness") // should be safe, but not sure if we can avoid the warning public <S extends @Nullable T> Ordering<S> reverse() { // ordering.reverse() might be optimized, so let it do its thing return ordering.<T>reverse().<@NonNull S>nullsLast(); } @SuppressWarnings("unchecked") // still need the right way to explain this @Override public <S extends @Nullable T> Ordering<@Nullable S> nullsFirst() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 27 16:03:47 GMT 2023 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/EquivalenceTest.java
* `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer` * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And * anyway, it's nice to avoid `Integer.valueOf` because the Android toolchain optimizes multiple * `Integer.valueOf` calls into one! So we stick with the deprecated `Integer` constructor. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/NullsLastOrdering.java
@Override @SuppressWarnings("nullness") // should be safe, but not sure if we can avoid the warning public <S extends @Nullable T> Ordering<S> reverse() { // ordering.reverse() might be optimized, so let it do its thing return ordering.<T>reverse().<@NonNull S>nullsFirst(); } @Override public <S extends @Nullable T> Ordering<@Nullable S> nullsFirst() { return ordering.<@NonNull S>nullsFirst(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 27 16:03:47 GMT 2023 - 2.7K bytes - Viewed (0)