错误原因:jar包版本更新,官方改动; 解决方法: 导入CellType包import org.apache.poi.ss.usermodel.CellType使用CellType.STRING代替HSSFCell.CELL_TYPE_STRING其他同理。 新版: 旧版: ...
分类:
编程语言 时间:
2019-07-07 09:23:10
阅读次数:
4495
Java编译时与运行时很重要的概念,但是一直没有明晰,这次专门博客写明白概念. 基础概念 编译时 编译时顾名思义就是正在编译的时候.那啥叫编译呢?就是编译器帮你把源代码翻译成机器能识别的代码.(当然只是一般意义上这么说,实际上可能只是翻译成某个中间状态的语言.比如Java只有JVM识别的字节码,.另 ...
分类:
编程语言 时间:
2019-07-05 15:28:42
阅读次数:
131
js中代码实现说明: var selEnt = mxOcx.NewComObject("IMxDrawUiPrEntity"); selEnt.message = "选择文字"; if(selEnt.go() != 1) return; var image = selEnt.Entity(); if ...
分类:
Web程序 时间:
2019-07-05 14:21:49
阅读次数:
183
js中代码实现说明: // 打碎图纸上的文字。 var filter = mxOcx.NewResbuf(); // 设置选择过滤条件,只选择文字。 filter.AddStringEx("TEXT,MTEXT", 5020); var ss = mxOcx.NewSelectionSet(); / ...
分类:
Web程序 时间:
2019-07-05 14:12:53
阅读次数:
147
主要用到函数说明: IMxDrawCurve::GetDistAtPoint 由曲线上的一点返回该点到曲线开始点的长度,具体说明如下: [in] IMxDrawPoint* point 曲线上的一点 [out] DOUBLE* pDis 返回到开始点的曲线上长度 js代码实现如下: var ent ...
分类:
Web程序 时间:
2019-07-04 11:31:24
阅读次数:
130
题目: Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "a ...
分类:
编程语言 时间:
2019-07-03 18:24:57
阅读次数:
147
packagecom.weshare.bigdata;importorg.apache.hadoop.hbase.Cell;importorg.apache.hadoop.hbase.HBaseConfiguration;importorg.apache.hadoop.hbase.TableName;importorg.apache.hadoop.hbase.client.*;importorg.
分类:
编程语言 时间:
2019-07-03 12:12:21
阅读次数:
171
.layui-table-cell { height: auto !important; white-space: normal; } ...
分类:
其他好文 时间:
2019-07-02 16:05:38
阅读次数:
328
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Web; 5 using System.Web.UI.WebControls; 6 7 namespace WMES.Cla... ...
python 异步MySQL存库 对于异步框架而言,这些延迟是无法接受的。因此, Twisted 提供了 twisted.enterprise.adbapi, 遵循DB-API 2.0协议的一个异步封装。adbapi 在单独的线程里面进行阻塞数据库操作, 当操作完成的时候仍然通过这个线程来进行回调。 ...
分类:
数据库 时间:
2019-07-01 12:18:17
阅读次数:
134