子非鱼 子非鱼
3年前
springboot(一)入门
一、maven构建springboot1、需求:搭建SpringBoot工程,定义HelloController.hello()方法,返回”HelloSpringBoot!”。2、实现步骤:1.创建Maven项目springboothelloworld2.导入SpringBoot起步依赖xmlorg.springframewo
一文讲透产品经理如何用好ChatGPT
我基于GPT4,梳理了帮助产品经理全流程提效的方法,整理了一些prompt,本文旨在分享这些收获,希望能抛砖引玉。
Stella981 Stella981
4年前
React:react
使用react构建单页面应用:  实现方法:(1)reactrouter       (2)reactrouterdomreactrouter:实现了路由的核心功能,而reactrouterdom依赖reactrouter,reactrouterdom:基于reactrouter,加入了在浏览器运行环境下的
Wesley13 Wesley13
4年前
Java中对jsonArray的排序,使用的是Gson
使用Gson对json解析字符串,转化为json对象.先上代码:下面是main方法里面的代码packagetestJava;importjava.util.ArrayList;importjava.util.Collections;importjava.util.List;
Stella981 Stella981
4年前
MyBatis where标签语句
当 where 中的条件使用的 if 标签较多时,这样的组合可能会导致错误。当 java 代码按如下方法调用时:@Testpublicvoidselect_test_where(){UserusernewUser();user.setUsername(null);
Wesley13 Wesley13
4年前
ubutun 下的 sublime text 2 不能输入中文
在ubuntu下安装st2后发现不能输入中文,抓狂啊。。。解决方法:cd~/.config/sublimetext2/Packagesgitclonehttps://github.com/xgenvn/InputHelper.git重启st2ctrlshiftz
Stella981 Stella981
4年前
N皇后问题 位运算解法【JAVA实现】
顺便把这个代码也放下出来吧具体原理大家百度去~//查找(位运算方法)intsum0,upperlimit1,p;publicvoidsearch3(introw,intld,intrd){if(row!upperlimit){in
Stella981 Stella981
4年前
BeetlSQL 3.2.10 发布,Query功能增强
完善了Sql类型说明修复Query类在使用无KeyHandler的时候的Bug增强了Query类的page查询方法,允许使用PageRequest接口<dependency<groupIdcom.ibeetl</groupId<artifactIdbeetlsql</artifact
Wesley13 Wesley13
4年前
JAVA面向对象之重载与重写
重写:子类对父类方法的重新编写  返回值不变,形参不变  不能抛出新的或者范围更广的异常classAnimal{publicvoidmove(){System.out.println("动物可以移动");}}clas
java小知识-纳秒
作者:京东物流崔冬冬一、System.nanoTime()java中,有这么一个方法System.nanoTime(),你用过吗?二、与System.currentTimeMillis()对比System.currentTimeMillis()我们经常使用