integertypeinfo.java

来自「ASN.1工具源代码,包括编译源码生成工具和各种基本类型构造类型的编解码实现代码」· Java 代码 · 共 70 行

JAVA
70
字号
/** * * IntegerTypeInfo * * @author Ian Ibbotson ( ibbo@k-int.com ) * @version $Id: IntegerTypeInfo.java,v 1.2 2000/12/23 10:43:56 ianibbo Exp $ * * Copyright:   Copyright (C) 2000, Knowledge Integration Ltd. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the license, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite * 330, Boston, MA  02111-1307, USA. *    * */package com.k_int.codec.comp;import java.io.StringWriter;import java.io.FileWriter;import java.io.File;              public class IntegerTypeInfo extends TypeInfo{  public IntegerTypeInfo(String type_reference,                          boolean builtin_type,                          int tag_class,                          int tag_number,                          boolean is_implicit,                          String basetype,                          String internal_type,                          ModuleInfo mi)  {    super(type_reference,builtin_type, tag_class, tag_number,is_implicit,basetype,internal_type,mi);    //codec_class_name = "Integer_codec";    //type_class_name = "BigInteger";  }  public IntegerTypeInfo(String type_reference,                  boolean builtin_type,                  String basetype,                  String internal_type,                  ModuleInfo mi)  {    super(type_reference, builtin_type, basetype, internal_type,mi);    //codec_class_name = "Integer_codec";    //type_class_name = "BigInteger";  }  public void writeTypeSpecificStaticInitialisationCode(StringWriter func, StringWriter declarations)  {  }         public void createTypeClassFile()  {  }  }

⌨️ 快捷键说明

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