1 public static long GetTimeStampTen() { return (DateTime.Now.ToUniversalTime().Ticks - 621355968000000000) / 10000000; } 1 ...
/** * * @param BASE64str bas64字符串 * @param path 存储地址 * @return 存储地址 */ public static String BASE64CodeToBeImage(String BASE64str,String path){ Buffere ...
分类:
其他好文 时间:
2021-03-18 13:59:41
阅读次数:
0
list 去重扩展: public static IEnumerable<TSource> DistinctBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector) { HashSet<T ...
实现类: public class LinkedList { /* * 回文链表 * 检查链表是否回文 */ public static void main(String[] args) { Linknode node = new Linknode(1); node.next = new Linkn ...
分类:
其他好文 时间:
2021-03-17 15:02:32
阅读次数:
0
File类 创建一个file类(没有无参构造)的对象,并与文件进行关联 用File类来操作文件,代码如下: package com.bjsxt.test01; import java.io.File; public class Test { public static void main(Strin ...
分类:
其他好文 时间:
2021-03-17 14:53:21
阅读次数:
0
数据结构和算法概述 算法分析 目的:花费更少的时间和更少的内存 1.1时间复杂度分析 事后分析方法: 程序开始时获取一个时间,结束时又获取一个时间,两者相减即可获得运行时间。 例: public class demo { public static void main(String[] args) ...
分类:
编程语言 时间:
2021-03-17 14:38:42
阅读次数:
0
java常用类--System类 常用方法 1、System.currentTimeMillis() public class Demo07 { /** * currentTimeMillis返回从1970年开始到现在的一个时间戳,返回为long类型 */ public static void ma ...
分类:
编程语言 时间:
2021-03-17 14:20:36
阅读次数:
0
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'elasticsearchTemplate' defined in class pa ...
分类:
编程语言 时间:
2021-03-17 14:15:07
阅读次数:
0
1. hscale 2. vscale static void yuv2p010cX_c(SwsContext *c, const int16_t *chrFilter, int chrFilterSize, const int16_t **chrUSrc, const int16_t **chrV ...
分类:
其他好文 时间:
2021-03-17 14:06:46
阅读次数:
0
类型转换 public class 类的转换 { public static void main(String[] args) {? /*类型转换 低 高 byte,short,char-int-long-float-double 高到低强制转换,低到高自动转换 */? //强制转换? int a ...
分类:
其他好文 时间:
2021-03-16 14:07:25
阅读次数:
0