Interface Freezable<O extends Freezable<O>>

All Superinterfaces:
Cloneable

public interface Freezable<O extends Freezable<O>> extends Cloneable
Allows for dynamically creating a tree data structure and then freezing it by creating an immutable clone.
In order to edit a frozen model, a "thawed" mutable clone can be produced.
Mutable models may contain frozen values, but frozen values must only consist of frozen and immutable objects.
  • Method Details