Implementation of the Singleton pattern using both the traditional approach and based on the static properties of an enum.
Implementation of the Adapter pattern.