Design Patterns in Java - Adapter