Java
YiWait
IT人士,爱好水草缸。
展开
-
实现字典树-算法设计
前缀树是一种树形数据结构,用于高效地存储和检索字符串数据集中的键。这一数据结构有相当多的应用情景,例如自动补完和拼写检查原创 2023-02-09 11:18:06 · 113 阅读 · 0 评论 -
通过微信code获取用户信息 spring boot
通过微信code获取用户信息spring boot原创 2022-11-28 15:25:27 · 759 阅读 · 0 评论 -
spring boot 极光推送
spring boot 极光推送原创 2022-11-28 14:39:11 · 748 阅读 · 0 评论 -
基于apriori推荐系统算法spring boot,定时任务执行
基于apriori推荐系统算法spring boot,定时任务执行原创 2022-11-28 14:27:52 · 859 阅读 · 1 评论 -
spring boot通过微信扫码登录
spring boot通过微信扫码登录,第三方登录原创 2022-11-28 13:40:38 · 1855 阅读 · 0 评论 -
springboot & seata 微服务架构下分布式事务控制
git地址:https://github.com/yichuancq/springcloud-seata-example.git# springcloud-seata-example分布式事务和并发访问>重要:使用前置条件,seata服务正常开启,nacos 服务开启,seata注册到nacos上的> 注册文件配置```textregistry { # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa type = "file.原创 2020-06-21 15:40:19 · 464 阅读 · 0 评论 -
java多线程模拟2个窗口同时卖车票100张
package com.thread;public class TestSeller { public static void main(String[] args) { // TODO Auto-generated method stub Seller s = new Seller(); Thread th1 = new Thread(s); Thread th2原创 2012-10-31 19:39:11 · 7498 阅读 · 0 评论 -
多线程模拟producer和consumer问题
package com.dijkstra;public class Buffer { private int contents;// private boolean avaliable = false; public synchronized int get() { while (!avaliable) { try { this.wait(); }原创 2012-10-31 19:45:57 · 815 阅读 · 0 评论 -
bootstrap 表格列格式为进度条,并从后台获取进度的数据
效果如图: @ApiOperation(value = "获取进度", notes = "获取进度") @RequestMapping(value = "/getProcess", method = RequestMethod.GET) @ResponseBody public Map getProcessValues(@RequestParam(value原创 2017-01-17 23:16:14 · 6817 阅读 · 2 评论 -
spring boot+前端ajax请求通讯
前端JS $.ajax({ type: 'post', url: 'http://localhost:8080/web/plan/getProcess2', data: {planId: planId, planName: ""}, beforeSend: function (XMLHttpRequest) {原创 2017-02-16 23:15:48 · 10056 阅读 · 0 评论 -
bootstrap 父子表格,子表格ajax异步加载detailView
//初始化子表格(无线循环)initTable.InitSubTable = function(index, row, $detail) {//var parentid = row.disIsbn;$detail.html('').find('table');var html = "";//html += "";html += "";html += "";htm原创 2016-11-20 18:11:14 · 11652 阅读 · 4 评论