- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for SerializedForm (0.2 sec)
-
android/guava/src/com/google/common/collect/ImmutableTable.java
* preserves iteration order of all views. */ static final class SerializedForm implements Serializable { private final Object[] rowKeys; private final Object[] columnKeys; private final Object[] cellValues; private final int[] cellRowIndices; private final int[] cellColumnIndices; private SerializedForm( Object[] rowKeys, Object[] columnKeys,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeSet.java
return all(); } else { return new ImmutableRangeSet<>(mergedRanges); } } } private static final class SerializedForm<C extends Comparable> implements Serializable { private final ImmutableList<Range<C>> ranges; SerializedForm(ImmutableList<Range<C>> ranges) { this.ranges = ranges; } Object readResolve() { if (ranges.isEmpty()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 27K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeMap.java
* This class is used to serialize ImmutableRangeMap instances. Serializes the {@link * #asMapOfRanges()} form. */ private static class SerializedForm<K extends Comparable<?>, V> implements Serializable { private final ImmutableMap<Range<K>, V> mapOfRanges; SerializedForm(ImmutableMap<Range<K>, V> mapOfRanges) { this.mapOfRanges = mapOfRanges; } Object readResolve() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 14.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
* bimap and its inverse in sync during serialization, the way AbstractBiMap does. */ @J2ktIncompatible // serialization private static class SerializedForm<K, V> extends ImmutableMap.SerializedForm<K, V> { SerializedForm(ImmutableBiMap<K, V> bimap) { super(bimap); } @Override Builder<K, V> makeBuilder(int size) { return new Builder<>(size); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
* implementation type is an implementation detail. */ @J2ktIncompatible // serialization private static class SerializedForm<E> implements Serializable { final Comparator<? super E> comparator; final Object[] elements; public SerializedForm(Comparator<? super E> comparator, Object[] elements) { this.comparator = comparator; this.elements = elements; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
* remain as implementation details. */ @J2ktIncompatible // serialization private static class SerializedForm<K, V> extends ImmutableMap.SerializedForm<K, V> { private final Comparator<? super K> comparator; SerializedForm(ImmutableSortedMap<K, V> sortedMap) { super(sortedMap); comparator = sortedMap.comparator(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
* method. Publicly-accessible subclasses must override this method and should return a subclass * of SerializedForm whose readResolve() method returns objects of the subclass type. */ @J2ktIncompatible // serialization Object writeReplace() { return new SerializedForm<>(this); } @J2ktIncompatible // java.io.ObjectInputStream
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
* implementation type is an implementation detail. */ @J2ktIncompatible // serialization private static class SerializedForm<E> implements Serializable { final Comparator<? super E> comparator; final Object[] elements; public SerializedForm(Comparator<? super E> comparator, Object[] elements) { this.comparator = comparator; this.elements = elements; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* method. Publicly-accessible subclasses must override this method and should return a subclass * of SerializedForm whose readResolve() method returns objects of the subclass type. */ @J2ktIncompatible // serialization Object writeReplace() { return new SerializedForm<>(this); } @J2ktIncompatible // java.io.ObjectInputStream
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 44.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
* remain as implementation details. */ @J2ktIncompatible // serialization private static class SerializedForm<K, V> extends ImmutableMap.SerializedForm<K, V> { private final Comparator<? super K> comparator; SerializedForm(ImmutableSortedMap<K, V> sortedMap) { super(sortedMap); comparator = sortedMap.comparator(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53K bytes - Viewed (0)