vdouble.java

来自「一个简单的visio程序。」· Java 代码 · 共 40 行

JAVA
40
字号
package HECore.stddata;
import HPCore.Exception.*;
public class VDouble extends VNumber{
    /**  
     * Constructs a VDouble object representing a double in VB
    **/
    public VDouble(double d)
    {
     super(d);
    }

   /**
    * returns this object type
    **/
   public short getType()
   {
     return V_DBL;
   
   }
   
   /**
     * Returns the string representaion of the VDouble object .
    */

   public String toString() 
   {
    return (new Double(dblValue())).toString();

   }

   /**
     * Returns the string representaion of the VDouble object .
     */

   public String strValue() 
   {
    return (new Double(dblValue())).toString();

   }
}

⌨️ 快捷键说明

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