Package Structural.Adapter
Class Adaptee
java.lang.Object
Structural.Adapter.Adaptee
The Adaptee class provides existing functionality that needs adaptation.
The Adaptee defines methods that do not match the Target interface but offer
useful functionality. The Adapter class bridges the gap between Adaptee and Target.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA specific method offered by the Adaptee.
-
Constructor Details
-
Adaptee
public Adaptee()Default constructor for Adaptee.
-
-
Method Details
-
specificRequest
A specific method offered by the Adaptee. This method demonstrates functionality that needs adaptation to match the Target interface.- Returns:
- A string representing the Adaptee's specific response.
-