摘要: //利用字符只有26个 public boolean isUnique(String astr) { int[] ch = new int[26]; for(int i=0;i<astr.length();i++){ ch[astr.charAt(i)-'a'] +=1; //将该字符放入数据并且该 阅读全文
posted @ 2020-06-10 17:39 振啊 阅读(242) 评论(0) 推荐(0)
摘要: 使用datable的search功能,可以快速对表格数据进行快速筛选,代码如下: var table = $('#tableId').Datable();$("#searchId").on('keyup', function () { table.search($(this).val()).draw 阅读全文
posted @ 2020-05-13 14:46 振啊 阅读(193) 评论(0) 推荐(0)