⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 slidefactory.java

📁 openwave公司的用于彩信开发的MM7协议实现java原代码,决对超值.
💻 JAVA
字号:
// EDITOR NOTE: Please set number of columns to 100 in ur editor.package com.openwave.mms.content;/** * This class creates concrete implementation objects for the  * <code>Slide</code> interface. */public class SlideFactory {    /**     * Private constructor to make sure that no one else can create instances     * of this class. This class must be a singleton and clients should get     * instances by calling the static getInstance method.     */    private SlideFactory() {    }    /**     * Returns an instance of this class.     *     * @return An instance of this class.     */    public static SlideFactory getInstance() {        return factory;    }    /**     * Obtains a reference to a concrete implementation of the     * <code>Slide</code> interface.     */    public Slide newSlide() {        return new SlideImpl();    }    private static SlideFactory factory = new SlideFactory();}

⌨️ 快捷键说明

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