stationtoolkit.java

来自「著名的uncle Bob的Agile software development的」· Java 代码 · 共 24 行

JAVA
24
字号
package api;

/**
 * The StationToolkit serves as the focal point for the 
 * creation of the platform independant application objects.
 * All of the return types of this factory are interfaces.  The
 * actual implementation is provided in a derived class which 
 * is platform specific.
 *
 * @see AlarmClockImp
 * @see PersistentImp
 * @see TemperatureImp
 * @see BarometricPressureSensorImp
 * @version 1.0
 */

public interface StationToolkit
{
  PersistentImp getPersistentImp();
  AlarmClockImp getAlarmClock();
  TemperatureSensorImp makeTemperature();
  BarometricPressureSensorImp makeBarometricPressure();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?