演示gson数组的序列化和反序列化。import com.google.gson.Gson;/** * @author yongjar * @date 2020/4/28 */public class GsonTester { public static void main(String args[... ...
分类:
其他好文 时间:
2020-05-13 12:32:32
阅读次数:
59
简介 https://blog.csdn.net/fmc088/article/details/80532993 在Android Sudio中使用Uiautomator https://blog.csdn.net/cxq234843654/article/details/51203143 ...
分类:
移动开发 时间:
2020-05-13 09:53:15
阅读次数:
65
不废话,直接上代码~ 1 package 集合与映射表; 2 3 import java.util.TreeSet; 4 import javafx.application.Application; 5 import javafx.geometry.Pos; 6 import javafx.scen ...
分类:
编程语言 时间:
2020-05-13 00:33:04
阅读次数:
78
一、实验目的 许多工程技术和数学研究中要用到定积分,如果无法直接算不出精确值(如含在积分方程中的积分)或计算困难但可用近似值近似时,就用数值积分法方法加以解决。常用的算法有:复化梯形、辛甫生(Simpson)、柯特斯(Cotes)求积法; 龙贝格(Romberg)算法;高斯(Gauss)算法。 二、 ...
分类:
编程语言 时间:
2020-05-12 22:02:32
阅读次数:
140
1 package com.yhqtv.demo02.InputStream; 2 3 import java.io.FileInputStream; 4 import java.io.FileNotFoundException; 5 import java.io.FileOutputStream; ...
分类:
其他好文 时间:
2020-05-12 20:39:17
阅读次数:
71
使用一个缓冲区进行读写操作: public static void main(String[] args) throws IOException { FileInputStream fileInputStream = new FileInputStream("1.txt"); FileChannel ...
分类:
其他好文 时间:
2020-05-12 17:19:21
阅读次数:
103
在看Collections工具类代码时,发现翻转数组的逻辑,感觉很有趣。思想:折半交换 public static void main(String[] args) { // TODO Auto-generated method stub int[] n = new int[] {1,2,3,4,5 ...
分类:
编程语言 时间:
2020-05-12 15:25:49
阅读次数:
63
assert断言,用于测试。当判断条件不满足,会终止程序并弹窗,然后会定位到断点处,用以调试。 调试结束后可以用 取消断言。 ...
分类:
其他好文 时间:
2020-05-12 09:44:28
阅读次数:
64
1 void quick_sort(int q[], int l, int r) 2 { 3 if (l >= r) return; 4 5 int i = l - 1, j = r + 1, x = q[l + r >> 1]; 6 while (i < j) 7 { 8 do i ++ ; wh ...
分类:
编程语言 时间:
2020-05-12 00:03:55
阅读次数:
84
Introduction This is Cairo graphics tutorial. The tutorial will teach you the basics of graphics programming in Cairo with the C programming language. ...
分类:
其他好文 时间:
2020-05-11 23:30:06
阅读次数:
88