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

📄 enumdescription.java

📁 主要是对串口驱动的的一些控制源码!!! 在下载javacomm20-win32.zip后就可以使用。
💻 JAVA
字号:
// Copyright <applicate>, 2002. All Rights Reserved.

// This software is the proprietary information of www.applicate.de.

// Use is subject to license terms.



package de.applicate.util.lang;





/**

 * @author     hs

 * @created    12. Februar 2002

 * @version    $Author: mwulff $ checked in $Revision: 1.1 $ at $Date: 2003/01/16 13:04:46 $

 */

public abstract class EnumDescription extends Enum implements WithDescription {

    private final  String  m_sDescription;







    protected EnumDescription(final int _nID, final String _sDescription) {

        super(_nID);

        m_sDescription = _sDescription;

    }



    //------------------------------------------------------------------------

    //  implemented methods from WithDescription

    //------------------------------------------------------------------------



    public String getDescription() {

        return m_sDescription;

    }



    //------------------------------------------------------------------------

    //  overrided methods from Object

    //------------------------------------------------------------------------



    public String toString() {

        return m_sDescription;

    }



}

⌨️ 快捷键说明

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