simpletextcolumn.java
来自「codebook!」· Java 代码 · 共 62 行
JAVA
62 行
//----------------------------------------------------------------------------//// Module: SimpleTextColumn.java//// Description: Object that represents a single result set column//// Author: Karl Moss//// Copyright: (C) 1996,1997 Karl Moss. All rights reserved.// You may study, use, modify and distribute this example// for any purpose, provided that this copyright notice// appears in all copies. This example is provided WITHOUT// WARRANTY either expressed or implied.//----------------------------------------------------------------------------package jdbc.SimpleText;public class SimpleTextColumn extends Object{ //------------------------------------------------------------------------ // Constructor //------------------------------------------------------------------------ public SimpleTextColumn( String name, int type, int precision) { this.name = name; this.type = type; this.precision = precision; } public SimpleTextColumn( String name, int type) { this.name = name; this.type = type; this.precision = 0; } public SimpleTextColumn( String name) { this.name = name; this.type = 0; this.precision = 0; } public String name; public int type; public int precision; public boolean searchable; public int colNo; public int displaySize; public String typeName;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?