Interface TypedDataSerializable

All Superinterfaces:
DataSerializable

public interface TypedDataSerializable extends DataSerializable
This interface adds the possibility for the class to act as if it is another class when being deserialized using DataSerializable
  • Method Details

    • getClassType

      Class getClassType()
      Returns:
      The class type that this serializable wants to act as.