This example of the Adapter pattern is based on the classic conflict between square pegs and round holes. Structure of the Adapter pattern example Adapting square pegs to round holes. The Adapter ...