If an object is "thawed" then calling freeze will try to disable the
optional methods.
Method Detail
freeze
void freeze()
If an object is "thawed" then calling freeze will try to disable the
optional methods. An implementing class does not have to honour this
but the programmer should assume that all optional methods will now
throw IllegalStateException.