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 ...
解决:在 router 文件夹的 index.js 下 routes: [...], scrollBehavior (to, from, savedPosition) { return { x: 0, y: 0 } } ...
分类:
其他好文 时间:
2021-03-17 15:07:42
阅读次数:
0
实现类: 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
路由 如果需要使用 vue router 驱动单页面应用,那就 App.vue 添加 <router-view/> 标签 router.js 中配置路由信息, main.js 中引入 router.js 并绑定到 vue 实例。 App.vue <template> <div id="app"> < ...
分类:
其他好文 时间:
2021-03-17 14:08:54
阅读次数:
0