使用时在引导类用@bean注入 在需要用的地方@AutoWired注入 package com.changgou.order.config; import com.alibaba.fastjson.JSON; import org.springframework.core.io.ClassPathR ...
分类:
其他好文 时间:
2021-01-19 12:17:05
阅读次数:
0
原文:How to Build a Multiplayer (.io) Web Game, Part 1 GitHub: https://github.com/vzhou842/example-.io-game 深入探索一个 .io 游戏的 Javascript client-side(客户端)。 ...
分类:
Web程序 时间:
2021-01-19 11:49:17
阅读次数:
0
byte:1byte = 8bit 1个字节是8个bit 类型 占用空间 取值范围 byte 1byte -27~27-1 (-128~127) short 2byte -215-215-1 (-32768-32767) int 4byte -231-231-1 (-2147483648-21474 ...
分类:
编程语言 时间:
2021-01-19 11:43:00
阅读次数:
0
java.lang.RuntimeException: java.io.IOException: No such file or directory at org.apache.poi.xssf.streaming.SXSSFWorkbook.createAndRegisterSXSSFSheet( ...
分类:
Web程序 时间:
2021-01-18 11:31:01
阅读次数:
0
@RestController官方地址 https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/bind/annotation/RestController.html @Targ ...
分类:
编程语言 时间:
2021-01-18 11:09:53
阅读次数:
0
import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.Pipe; import org.junit.Test; public class TestPipe { @Test public voi ...
分类:
其他好文 时间:
2021-01-18 11:00:46
阅读次数:
0
wget http://download.redis.io/released/redis-4.0.11.tar.gz tar -zxvf redis-4.0.11.tar.gz mv redis-4.0.11 redis mv redis /usr/local/redis cd /usr/local ...
分类:
其他好文 时间:
2021-01-18 10:53:30
阅读次数:
0
Java获取指定类的内部结构 1、通过反射机制实现自定义类的反编译实现。反编译就是将class文件内容通过反射获取所有的内容后写入到一个java源代码文件中。 package homework; import java.io.File; import java.io.FileWriter; impo ...
分类:
编程语言 时间:
2021-01-18 10:39:30
阅读次数:
0
1 简介 1.1 主从同步 MySQL的主从复制是一个异步的复制过程(虽然一般情况下感觉是实时的),数据将从一个MySQL数据库复制到另一个MySQL数据库,在master与Slave之间实现整个主从复制的过程是有三个线程参与完成的。其中两个线程(SQL线程和IO线程)在slave端,另一个线程(I ...
分类:
数据库 时间:
2021-01-16 12:16:01
阅读次数:
0
1.File类 1.1定义 是文件和目录路径名的抽象表示形式,Java中把文件或者目录都封装成File对象。创建File时不会在文件系统创建文件。 1.2构造函数 1)File(String pathname) 将一个字符串路径封装成File对象。 File file=new File("D:\\J ...
分类:
编程语言 时间:
2021-01-16 11:59:18
阅读次数:
0