自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 ObjectOutputStream和ObjectInputStream 用法

存储对象到一个文件。 /** * 输出流存储对象 * @throws IOException */ @Test public void objectOutputStreamTest() throws IOException{ ObjectOutputStream objectOutputStream =null; OutputStream outputStream = null; try{

2020-12-15 10:15:17 143 1

转载 字符缓冲区。前辈的代码。不是我的。

今天看前辈的字符缓冲区。 让我十分敬仰。 public void ReaderStreamTest01() throws IOException { InputStream inputStream = null; Reader reader = null; try { inputStream = new FileInputStream("sss.txt"); reader = new InputStrea

2020-12-13 23:56:05 63

原创 java数组排序 好像两个都差不多, 感觉自己写的好理解一些

package com.guocy.array; /** * @program: array * @description: 数组的算法 * @author: Mr.guocy mail:765144383@qq.com * @create: 2020-11-23 12:31 **/ public class array { public static void main(String[] args) { /** * 数组是一种基本的数据结构,用于按顺

2020-11-23 18:07:04 78

原创 hibernate 继承 抽象类 今天发现一个好东西@MappedSuperclass

父类 /** * * 工具类,表示继承这个类的, 会自动加数据库加两列,uuid, 自动生成,。 和 creationDate 创建时间 * @author guocy * */ @MappedSuperclass public class UtilEntity{ private String uuid; private String creationDate; @Id @GeneratedValue(generator="uuid")...

2020-11-08 10:56:39 101

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除