码迷,mamicode.com
首页 >  
搜索关键字:contains    ( 4472个结果
SFTP上传文件
package com.cfets.ts.u.shchgateway.util; import imix.Message; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.File;... ...
分类:Web程序   时间:2019-11-16 00:02:43    阅读次数:102
ThreadLocal工具类做缓存(线程隔离思想)
public class ThreadLocalCache { private static ThreadLocal<Map<String, Object>> cache=new ThreadLocal<Map<String,Object>>(); /** * 从ThreadLocal里获取缓存的值 ...
分类:编程语言   时间:2019-11-15 18:39:56    阅读次数:83
LeetCode 219: 存在重复元素 II Contains Duplicate II
题目: ? 给定一个整数数组和一个整数 k ,判断数组中是否存在两个不同的索引 i 和 j ,使得 nums [i] = nums [j] ,并且 i 和 j 的差的绝对值最大为 k 。 ? Given an array of integers and an integer k , find out ...
分类:其他好文   时间:2019-11-14 19:45:36    阅读次数:65
力扣算法——133.CloneGraph【M】
Given a reference of a node in a connected undirected graph, return a deep copy (clone) of the graph. Each node in the graph contains a val (int) and ...
分类:编程语言   时间:2019-11-12 00:46:37    阅读次数:59
java String 常用方法
String方法 toCharArray replaceAll toUpperCase,toLowerCase trim split substring endswith,startsWith contains lastIndexOf compareTo equalsIgnoreCase charA ...
分类:编程语言   时间:2019-11-11 21:55:20    阅读次数:104
Codeforces Round #599 (Div. 2) A. Maximum Square
Ujan decided to make a new wooden roof for the house. He has nn rectangular planks numbered from 11 to nn. The ii-th plank has size ai×1ai×1 (that is, ...
分类:其他好文   时间:2019-11-10 11:46:16    阅读次数:66
CIS 545 - Big Data Analytics
CIS 545 - Big Data Analytics - Fall 2019 Have you ever wondered about (1) what it takes to be a data scientist or "data person", and (2) how sowork?Th ...
分类:其他好文   时间:2019-11-08 19:03:03    阅读次数:99
POJ3450题解——暴力orKMP
题目链接:http://poj.org/problem?id=3450 Corporate Identity Beside other services, ACM helps companies to clearly state their “corporate identity”, which i ...
分类:其他好文   时间:2019-11-07 09:41:27    阅读次数:96
关于RocketMQ消息消费与重平衡的一些问题探讨
其实最好的学习方式就是互相交流,最近也有跟网友讨论了一些关于 RocketMQ 消息拉取与重平衡的问题,我姑且在这里写下我的一些总结。 关于 push 模式下的消息循环拉取问题 之前发表了一篇关于重平衡的文章:「 "Kafka 重平衡机制" 」,里面有说到 RocketMQ 重平衡机制是每隔 20s ...
分类:其他好文   时间:2019-11-06 22:47:13    阅读次数:114
四舍五入
''' <summary> ''' 四舍五入 ''' </summary> ''' <param name="dbValue">需要四舍五入的原始数据,字符串类型</param> ''' <param name="rightBits">四舍五入以后,小数点右边保留几位;整数类型</param> '' ...
分类:其他好文   时间:2019-11-04 11:47:34    阅读次数:101
4472条   上一页 1 ... 46 47 48 49 50 ... 448 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!