1. ModelsSortHelper import com.google.common.base.Strings; import org.springframework.beans.BeanUtils; import org.springframework.util.Assert; import ...
分类:
编程语言 时间:
2020-08-10 13:18:48
阅读次数:
82
``````/货币元转换为分*/publicstaticLongformatMoney(Strings){if(s.contains(".")){intindex=s.indexOf(".");Stringsub1=s.substring(0,index);Stringsub2=s.substring(index+1);if(sub2.length()>
分类:
其他好文 时间:
2020-08-05 16:56:47
阅读次数:
81
GNU开发工具——GNUBinutils快速入门一、GNUBinutils简介GNUBinutils(GNU二进制工具集),即GNUBinaryUtilities,是一套用于创建、管理和维护二进制目标文件的工具集合,包括addr2line、ar、gprof、nm、objcopy、objdump、ranlib、size、strings、strip。Binutils官网地址:https://www.g
分类:
其他好文 时间:
2020-08-03 09:46:54
阅读次数:
74
简介 Redis 是一款开源非关系型(NoSQL)数据库,遵守BSD协议,Key-Value数据结构,Redis支持持久化,数据持久化时数据存储在磁盘中,有着高性能的读写效率。 特点: 1、Redis支五种数据类型:Strings(字符串)、Lists(列表)、Hashes(哈希)、Sets(集合) ...
分类:
其他好文 时间:
2020-07-30 01:13:05
阅读次数:
56
Suppose Andy and Doris want to choose a restaurant for dinner, and they both have a list of favorite restaurants represented by strings. You need to h ...
分类:
其他好文 时间:
2020-07-29 15:41:09
阅读次数:
86
Given two strings s1, s2, find the lowest ASCII sum of deleted characters to make two strings equal. Example 1: Input: s1 = "sea", s2 = "eat" Output: ...
分类:
其他好文 时间:
2020-07-28 14:45:21
阅读次数:
310
Given two words word1 and word2, find the minimum number of steps required to make word1 and word2 the same, where in each step you can delete one cha ...
分类:
其他好文 时间:
2020-07-28 14:04:15
阅读次数:
77
1. Redis Redis 是一个开源(BSD许可)的,内存中的数据结构存储系统,它可以用作数据库、缓存和消息中间件。 它支持多种类型的数据结构,如 字符串(strings), 散列(hashes), 列表(lists), 集合(sets), 有序集合(sorted sets) 与范围查询, bi ...
分类:
系统相关 时间:
2020-07-27 15:55:04
阅读次数:
89
##题面 he length of the longest common prefix of two strings s=s1s2…sn and t=t1t2…tm is defined as the maximum integer k (0≤k≤min(n,m)) such that s1s2…s ...
分类:
其他好文 时间:
2020-07-26 00:15:56
阅读次数:
106
Redis 参考链接: Http://redis.io/ http://www.redis.cn/ 介绍 Remote Dictionary Server(远程字典服务器) 它可以用作数据库、缓存和消息中间件。 它支持多种类型的数据结构,如 字符串(strings), 散列(hashes), 列表( ...
分类:
其他好文 时间:
2020-07-22 02:17:22
阅读次数:
143