Package com.vladsch.flexmark.util.misc
Class BitFieldSet.SerializationProxy<E extends java.lang.Enum<E>>
- java.lang.Object
-
- com.vladsch.flexmark.util.misc.BitFieldSet.SerializationProxy<E>
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- BitFieldSet<E extends java.lang.Enum<E>>
private static class BitFieldSet.SerializationProxy<E extends java.lang.Enum<E>> extends java.lang.Object implements java.io.Serializable
This class is used to serialize all EnumSet instances, regardless of implementation type. It captures their "logical contents" and they are reconstructed using public static factories. This is necessary to ensure that the existence of a particular implementation type is an implementation detail.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private long
bits
The bit mask for elements contained in this enum set.private java.lang.Class<E>
elementType
The element type of this enum set.private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description SerializationProxy(BitFieldSet<E> set)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.Object
readResolve()
-
-
-
Field Detail
-
elementType
private final java.lang.Class<E extends java.lang.Enum<E>> elementType
The element type of this enum set.
-
bits
private final long bits
The bit mask for elements contained in this enum set.
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SerializationProxy
SerializationProxy(BitFieldSet<E> set)
-
-