- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 67 for serialize (0.56 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/JdkBackedImmutableBiMap.java
* limitations under the License. */ package com.google.common.collect; /** * GWT emulation of {@link JdkBackedImmutableBiMap}. Never used, but must exist so that the client * is willing to deserialize maps that were this type on the server. */ @ElementTypesAreNonnullByDefault class JdkBackedImmutableBiMap<K, V> extends RegularImmutableBiMap<K, V> {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ReserializedImmutableMapMapInterfaceTest.java
public class ReserializedImmutableMapMapInterfaceTest extends AbstractImmutableMapMapInterfaceTest<String, Integer> { @Override protected Map<String, Integer> makePopulatedMap() { return SerializableTester.reserialize(ImmutableMap.of("one", 1, "two", 2, "three", 3)); } @Override protected String getKeyNotInPopulatedMap() { return "minus one"; } @Override protected Integer getValueNotInPopulatedMap() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Mar 09 02:18:08 UTC 2022 - 1.2K bytes - Viewed (0) -
futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java
* * <p>This class is used only for micro-optimization. Standard {@code Future} utilities benefit from * this optimization, so there is no need to specialize methods to return or accept this type * instead of {@code ListenableFuture}. * * <p>This class is GWT-compatible. * * @since {@code com.google.guava:failureaccess:1.0}, which was added as a dependency of Guava in
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java
} @Override public SampleElements<E> samples() { return gen.samples(); } @Override public Collection<E> create(Object... elements) { return SerializableTester.reserialize(gen.create(elements)); } @Override public E[] createArray(int length) { return gen.createArray(length); } @Override public Iterable<E> order(List<E> insertionOrder) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Aug 18 22:49:45 UTC 2021 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/reflect/AbstractInvocationHandler.java
return proxyClass.isInstance(arg) // Equal proxy instances should mostly be instance of proxyClass // Under some edge cases (such as the proxy of JDK types serialized and then deserialized) // the proxy type may not be the same. // We first check isProxyClass() so that the common case of comparing with non-proxy objects // is efficient.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 5.2K bytes - Viewed (0) -
README.md
`com.google.guava:failureaccess:1.0.2`. It also has [some annotation-only dependencies][guava-deps], which we discuss in more detail at that link. 4. Serialized forms of ALL objects are subject to change unless noted otherwise. Do not persist these and assume they can be read by a future version of the library.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 31 17:43:52 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java
@Override public SampleElements<E> samples() { return gen.samples(); } @Override public List<E> create(Object... elements) { return (List<E>) SerializableTester.reserialize(gen.create(elements)); } @Override public E[] createArray(int length) { return gen.createArray(length); } @Override public Iterable<E> order(List<E> insertionOrder) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 26 19:46:10 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/Platform.java
/** * Methods factored out so that they can be emulated differently in GWT. * * @author Chris Povirk */ final class Platform { /** Serializes and deserializes the specified object (a no-op under GWT). */ @SuppressWarnings("unchecked") static <T> T reserialize(T object) { return checkNotNull(object); } private Platform() {}
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LenientSerializableTester.java
Set<E> copy = reserialize(original); assertEquals(original, copy); assertTrue(copy instanceof ImmutableSet); return copy; } @CanIgnoreReturnValue @GwtIncompatible // SerializableTester static <E> Multiset<E> reserializeAndAssertLenient(Multiset<E> original) { Multiset<E> copy = reserialize(original); assertEquals(original, copy);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Aug 04 15:33:27 UTC 2020 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LenientSerializableTester.java
Set<E> copy = reserialize(original); assertEquals(original, copy); assertTrue(copy instanceof ImmutableSet); return copy; } @CanIgnoreReturnValue @GwtIncompatible // SerializableTester static <E> Multiset<E> reserializeAndAssertLenient(Multiset<E> original) { Multiset<E> copy = reserialize(original); assertEquals(original, copy);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Aug 04 15:33:27 UTC 2020 - 2.5K bytes - Viewed (0)