serialization - Serialize Lucene's OpenBitSet 4.9.0 using Java - Stack Overflow
OpenBitSet
to get access to protected long[] bits
and protected int wlen
. These are the only ones that provide state.Externalizable
, and (de)serialize those two fields in readExternal
and writeExternal
.Read full article from serialization - Serialize Lucene's OpenBitSet 4.9.0 using Java - Stack Overflow
No comments:
Post a Comment