- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for SerializedForm (0.05 sec)
-
android/guava/src/com/google/common/collect/EmptyContiguousSet.java
} @Override public int hashCode() { return 0; } @GwtIncompatible @J2ktIncompatible private static final class SerializedForm<C extends Comparable> implements Serializable { private final DiscreteDomain<C> domain; private SerializedForm(DiscreteDomain<C> domain) { this.domain = domain; } private Object readResolve() { return new EmptyContiguousSet<>(domain);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.1K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 6.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
return Sets.hashCodeImpl(this); } @GwtIncompatible @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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnels.java
Object writeReplace() { return new SerializedForm(charset); } private void readObject(ObjectInputStream stream) throws InvalidObjectException { throw new InvalidObjectException("Use SerializedForm"); } private static final class SerializedForm implements Serializable { private final String charsetCanonicalName; SerializedForm(Charset charset) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/Funnels.java
Object writeReplace() { return new SerializedForm(charset); } private void readObject(ObjectInputStream stream) throws InvalidObjectException { throw new InvalidObjectException("Use SerializedForm"); } private static final class SerializedForm implements Serializable { private final String charsetCanonicalName; SerializedForm(Charset charset) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.2K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapValues.java
* expect to do so again, as discussed in https://github.com/google/guava#important-warnings. */ @SuppressWarnings("unused") private static final class SerializedForm<V> implements Serializable { final ImmutableMap<?, V> map; SerializedForm(ImmutableMap<?, V> map) { this.map = map; } Object readResolve() { return map.values(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SingletonImmutableTable.java
} @Override ImmutableCollection<V> createValues() { return ImmutableSet.of(singleValue); } @Override @J2ktIncompatible @GwtIncompatible Object writeReplace() { return SerializedForm.create(this, new int[] {0}, new int[] {0}); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableEnumSet.java
return new EnumSerializedForm<E>(delegate); } @J2ktIncompatible // serialization private void readObject(ObjectInputStream stream) throws InvalidObjectException { throw new InvalidObjectException("Use SerializedForm"); } /* * This class is used to serialize ImmutableEnumSet instances. */ @J2ktIncompatible // serialization
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SparseImmutableTable.java
for (Cell<R, C, V> cell : cellSet()) { // requireNonNull is safe because the cell exists in the table. cellColumnIndices[i++] = requireNonNull(columnKeyToIndex.get(cell.getColumnKey())); } return SerializedForm.create(this, cellRowIndices, cellColumnIndices); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 5.5K bytes - Viewed (1)