Adapter Pattern Demonstrator
Enter metric measurements. The "Adapter" will convert them to imperial units.
This illustrates how the Adapter pattern makes incompatible interfaces work together.
Imperial System Output (via Adapter)
Length in Inches
0.00 inches
Weight in Pounds
0.00 lbs
This demonstrates the Adapter's role: taking the Adaptee's (Metric System's) data and converting it to the Target's (Imperial System's) expected format.