Class ImmutableSetWithHashingStrategySerializationProxy<T>
- java.lang.Object
-
- org.eclipse.collections.impl.set.strategy.immutable.ImmutableSetWithHashingStrategySerializationProxy<T>
-
- All Implemented Interfaces:
java.io.Externalizable,java.io.Serializable
class ImmutableSetWithHashingStrategySerializationProxy<T> extends java.lang.Object implements java.io.Externalizable
-
-
Field Summary
Fields Modifier and Type Field Description private HashingStrategy<? super T>hashingStrategyprivate static longserialVersionUIDprivate ImmutableSet<T>set
-
Constructor Summary
Constructors Constructor Description ImmutableSetWithHashingStrategySerializationProxy()ImmutableSetWithHashingStrategySerializationProxy(ImmutableSet<T> set, HashingStrategy<? super T> hashingStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadExternal(java.io.ObjectInput in)protected java.lang.ObjectreadResolve()voidwriteExternal(java.io.ObjectOutput out)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
set
private ImmutableSet<T> set
-
hashingStrategy
private HashingStrategy<? super T> hashingStrategy
-
-
Constructor Detail
-
ImmutableSetWithHashingStrategySerializationProxy
public ImmutableSetWithHashingStrategySerializationProxy()
-
ImmutableSetWithHashingStrategySerializationProxy
ImmutableSetWithHashingStrategySerializationProxy(ImmutableSet<T> set, HashingStrategy<? super T> hashingStrategy)
-
-
Method Detail
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException- Specified by:
writeExternalin interfacejava.io.Externalizable- Throws:
java.io.IOException
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException- Specified by:
readExternalin interfacejava.io.Externalizable- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
readResolve
protected java.lang.Object readResolve()
-
-