2014-08-11 22:07:16 +03:00
|
|
|
package com.iluwatar;
|
|
|
|
|
2014-08-31 08:46:10 +03:00
|
|
|
/**
|
|
|
|
*
|
2014-08-31 19:19:28 +03:00
|
|
|
* Adapter (GnomeEngineer) converts the interface of the
|
2014-09-07 15:08:43 +03:00
|
|
|
* target class (GoblinGlider) into suitable one expected
|
|
|
|
* by the client (GnomeEngineeringManager).
|
2014-08-31 08:46:10 +03:00
|
|
|
*
|
|
|
|
*/
|
2014-08-11 22:07:16 +03:00
|
|
|
public class App
|
|
|
|
{
|
|
|
|
public static void main( String[] args )
|
|
|
|
{
|
2014-09-07 15:08:43 +03:00
|
|
|
GnomeEngineeringManager manager = new GnomeEngineeringManager();
|
|
|
|
manager.operateDevice();
|
2014-08-11 22:07:16 +03:00
|
|
|
}
|
|
|
|
}
|