summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/esodata/SimpleStack.java
diff options
context:
space:
mode:
authorBen Culkin <scorpress@gmail.com>2020-11-16 18:31:29 -0500
committerBen Culkin <scorpress@gmail.com>2020-11-16 18:31:29 -0500
commit38e97f991ee69afd53f36fd7296b4afd5a621311 (patch)
treeb67927e18f2c02d172bf3d01d5b60df42e33f200 /src/main/java/bjc/esodata/SimpleStack.java
parentcd4487c1e3b50fdd8aa4a3cc81edf665c86507ca (diff)
Add interface for freezing/thawing objects
This adds a new interface IFreezable, which denotes that your object supports being 'frozen' (immutable) or 'thawed' (mutable). There is also optional support for 'deep-freezing' objects, which disables the ability to thaw them. It also introduces a new exception called ObjectFrozen, which implementations of IFreezable may or may not throw when you attempt to modify a frozen object
Diffstat (limited to 'src/main/java/bjc/esodata/SimpleStack.java')
0 files changed, 0 insertions, 0 deletions