A design pattern that allows incompatible interfaces to work together by creating a wrapper that translates one interface into another expected by the client. It acts as a bridge between two incompatible systems without modifying their existing code.
Named after electrical adapters that allow devices with different plugs to connect to power outlets, first formalized in the Gang of Four book (1994). The pattern addresses the common problem of integrating legacy systems or third-party libraries with different interfaces.
Try Another Word