I've a Class C which contains a Map property of another type (class A). I've implemented Serializable interface for class C and A
public class C {
Map<A, Map<Interface_I, Double>> x;
private void writeObject(java.io.ObjectOutputStream stream) {...}
private void readObject(java.io.ObjectInputStream stream) {...}
}
For the interface I how can I make it serializable ?