| Function Summary | |
addSingletonGetter(!Function ctor)Adds a {@code getInstance} static method to the given class which in addition to always returning the same instance object, registers the constructor in a global array. | |
reset()Deletes all singleton instances, so {@code getInstance} will return a new instance on next call. | |