java - Serializing Guava's ImmutableTable -


I am using version 17.0 of Guava , especially new collection types. While trying to write ImmutableTable via a socket , I realized that the class and its concrete implementation are not eligible for the serialization.

However, the following two tickets indicate that developers are aware of this problem:

< P> Is any one of you irreversibleable attributes? Map s?

Although the immutabletable serialization is not eligible, you can always use one or more implementations. And after deserialization, using ImmutableTable.copyOf (deserialized) is not quite elegant to achieve immutabletable again, but is simple enough to implement.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -