码迷,mamicode.com
首页 >  
搜索关键字:java new newintance    ( 357047个结果
【效果】使用canvas rotate实现一个旋转的矩形
使用canvas rotate实现一个旋转的矩形,并且以矩形的中心为原点,围绕原点旋转: <canvas id="canvas" width="800" height="400"></canvas> <script type="text/javascript"> var canvas = docum ...
分类:其他好文   时间:2021-05-24 02:25:51    阅读次数:0
Redis01:linux中安装redis
NoSQL介绍 NoSQL数据库简介 技术发展 1、解决功能性问题:Java、Jsp、RDBMS、Tomcat、html、Linux、JDBC、SVN 2、解决扩展性功能:Struts、Spring、SpringMVC、Hibernate、Mybatis 3、解决性能的问题:NoSQL、Java线程 ...
分类:系统相关   时间:2021-05-24 02:14:01    阅读次数:0
BlockingQueue->ArrayBlockingQueue/SynchronousQueue
2 3 import java.util.concurrent.ArrayBlockingQueue; 4 import java.util.concurrent.BlockingQueue; 5 import java.util.concurrent.LinkedBlockingDeque; 6 ...
分类:其他好文   时间:2021-05-24 02:13:16    阅读次数:0
JVM虚拟机-了解Java堆中对象分配、布局和访问的全过程
前言 对象是Java中最常被提到的概念,也是Java的灵魂,Java中一切皆是对象。 JVM是Java的根基,理解灵魂与根基是如何融合的,对于理解Java本身至关重要。 对象的创建 对象的创建从Java语言层面上,往往就是一个简单的new即可搞定,而深入JVM的底层,可就复杂的多了。 JVM中对象的 ...
分类:编程语言   时间:2021-05-24 02:06:27    阅读次数:0
Dapper.Net简例
Dapper的多表查询实现打开链接 using (var conn = new SqlConnection(myConnectionString)) { conn.Open(); .... } 单表查询 public class Account { public int? Id {get;set;} ...
分类:移动开发   时间:2021-05-24 02:03:08    阅读次数:0
Linux操作指令
查看端口号netstat -lnp|grep 8002 启动jar包命令nohup java -jar xxxx.jar >/dev/null 2>&1 & 重启nginx/usr/local/nginx/sbin/nginx -s reload 启动redisredis-server /usr/l ...
分类:系统相关   时间:2021-05-24 02:01:13    阅读次数:0
【每日一题】1723. 完成所有工作的最短时间
https://leetcode-cn.com/problems/find-minimum-time-to-finish-all-jobs/ 不会做,蹭个积分就走~ class Solution { /** * 最小的 工人最大用时 */ private int minId = Integer.MA ...
分类:其他好文   时间:2021-05-24 01:38:37    阅读次数:0
在IIS上部署ASP.NET MVC程序时使用虚拟目录的问题
1.使用虚拟目录是,后端中的重定向等该如何处理 string path = filterContext.HttpContext.Request.ApplicationPath; if (path == "/") { path = ""; } filterContext.Result = new Re ...
分类:Web程序   时间:2021-05-24 01:38:02    阅读次数:0
linux定时任务crontab详解
image.png 访问控制 白名单 若存在/etc/cron.allow,只有该文件内的用户才能使用crontab 黑名单 若存在/etc/deny,该文件内的用户不能使用crontab 优先级 /etc/cron.allow > /etc/cron.deny 常用选项 -e: 编辑任务 -l: ...
分类:系统相关   时间:2021-05-24 01:35:31    阅读次数:0
HelloWorld
HelloWorld 随便新建一个文件夹,存放代码 新建一个Java文件 文件后缀名为.java Hello.java 【注意点】系统可能没有显示文件后缀名,需要手动打开 编写代码 public class Hello{ public static void main(String[]args){ ...
分类:其他好文   时间:2021-05-24 01:16:13    阅读次数:0
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!