- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for SerializedForm (0.08 sec)
-
android/guava/src/com/google/common/collect/RegularImmutableMultiset.java
return contents.getEntry(index); } @GwtIncompatible private static class SerializedForm implements Serializable { final Object[] elements; final int[] counts; // "extends Object" works around https://github.com/typetools/checker-framework/issues/3013 SerializedForm(Multiset<? extends Object> multiset) { int distinct = multiset.entrySet().size();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMapValues.java
} @GwtIncompatible // serialization @Override Object writeReplace() { return new SerializedForm<V>(map); } @GwtIncompatible // serialization @J2ktIncompatible private static class SerializedForm<V> implements Serializable { final ImmutableMap<?, V> map; SerializedForm(ImmutableMap<?, V> map) { this.map = map; } Object readResolve() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3K bytes - Viewed (0) -
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) -
android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java
} private Object writeReplace() { return new SerializedForm<>(delegate()); } private void readObject(ObjectInputStream stream) throws InvalidObjectException { throw new InvalidObjectException("Use SerializedForm"); } /** Serialized form of the map, to avoid serializing the constraint. */ private static final class SerializedForm<B extends @Nullable Object> implements Serializable {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
return Sets.hashCodeImpl(this); } @GwtIncompatible // serialization @J2ktIncompatible private static final class SerializedForm<C extends Comparable> implements Serializable { final Range<C> range; final DiscreteDomain<C> domain; private SerializedForm(Range<C> range, DiscreteDomain<C> domain) { this.range = range; this.domain = domain; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
@GwtIncompatible // serialization @J2ktIncompatible @SuppressWarnings("unused") private static class SerializedForm<K> implements Serializable { final ImmutableMap<K, ?> map; SerializedForm(ImmutableMap<K, ?> map) { this.map = map; } Object readResolve() { return map.keySet(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 16.2K 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) -
android/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 16 21:21:17 UTC 2024 - 22.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapValues.java
@GwtIncompatible // serialization @J2ktIncompatible @SuppressWarnings("unused") private static class SerializedForm<V> implements Serializable { final ImmutableMap<?, V> map; SerializedForm(ImmutableMap<?, V> map) { this.map = map; } Object readResolve() { return map.values(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3.6K bytes - Viewed (0)