- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 115 for serialize (0.48 sec)
-
guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
} public void testSerialization() { AtomicLongMap<String> map = AtomicLongMap.create(); map.put("key", 1L); AtomicLongMap<String> reserialized = SerializableTester.reserialize(map); assertEquals(map.asMap(), reserialized.asMap()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 17.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
return keySet; } @Override public ImmutableSortedSet<K> descendingKeySet() { return keySet.descendingSet(); } /** * Serialized type for all ImmutableSortedMap instances. It captures the logical contents and they * are reconstructed using public factory methods. This ensures that the implementation types * remain as implementation details. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 50.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
return multimapGenerator.order(insertionOrder); } @Override public M create(Object... elements) { return SerializableTester.reserialize( ((TestMultimapGenerator<K, V, M>) multimapGenerator.getInnerGenerator()) .create(elements)); } @Override public K[] createKeyArray(int length) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 26 19:46:10 UTC 2024 - 26.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ShortsTest.java
@GwtIncompatible // SerializableTester public void testLexicographicalComparatorSerializable() { Comparator<short[]> comparator = Shorts.lexicographicalComparator(); assertThat(SerializableTester.reserialize(comparator)).isSameInstanceAs(comparator); } public void testReverse() { testReverse(new short[] {}, new short[] {}); testReverse(new short[] {1}, new short[] {1});
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 29 15:43:06 UTC 2024 - 26.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/LongsTest.java
@GwtIncompatible // SerializableTester public void testLexicographicalComparatorSerializable() { Comparator<long[]> comparator = Longs.lexicographicalComparator(); assertThat(SerializableTester.reserialize(comparator)).isSameInstanceAs(comparator); } public void testReverse() { testReverse(new long[] {}, new long[] {}); testReverse(new long[] {1}, new long[] {1});
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 30K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LocalCache.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 143.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableSet.java
*/ @ElementTypesAreNonnullByDefault final class SingletonImmutableSet<E> extends ImmutableSet<E> { // This reference is used both by the custom field serializer, and by the // GWT compiler to infer the elements of the lists that needs to be // serialized. // // Although this reference is non-final, it doesn't change after set creation. E element; SingletonImmutableSet(E element) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
public class ExecutionSequencerTest extends TestCase { ExecutorService executor; private ExecutionSequencer serializer; private SettableFuture<@Nullable Void> firstFuture; private TestCallable firstCallable; @Override public void setUp() throws Exception { executor = Executors.newCachedThreadPool(); serializer = ExecutionSequencer.create(); firstFuture = SettableFuture.create();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 16.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
} public void testEqualsAndHashCode() { new EqualsTester() .addEqualityGroup(Optional.absent(), reserialize(Optional.absent())) .addEqualityGroup(Optional.of(Long.valueOf(5)), reserialize(Optional.of(Long.valueOf(5)))) .addEqualityGroup(Optional.of(Long.valueOf(42)), reserialize(Optional.of(Long.valueOf(42)))) .testEquals(); } public void testToString_absent() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 18:32:41 UTC 2024 - 11.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableBiMap.java
static final RegularImmutableBiMap<Object, Object> EMPTY = new RegularImmutableBiMap<Object, Object>(); // This reference is used both by the GWT compiler to infer the elements // of the lists that needs to be serialized. private ImmutableBiMap<V, K> inverse; @SuppressWarnings("unchecked") // used only for the empty map, which works for any types RegularImmutableBiMap() { super(new RegularImmutableMap<K, V>(new HashMap<K, V>()));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 27 19:19:19 UTC 2024 - 2K bytes - Viewed (0)