码迷,mamicode.com
首页 >  
搜索关键字:collections    ( 9831个结果
Redis分布式锁的正确姿势
1. 核心代码: import redis.clients.jedis.Jedis;import java.util.Collections;public class RedisUtil { private static final String LOCK_SUCCESS = "OK"; priva ...
分类:其他好文   时间:2020-04-26 17:22:03    阅读次数:91
C#基础:猜数字小游戏
系统随机生成0-100之间的数字,玩家有3次机会,每次猜错系统都会进行提示,3次都错就失败。 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Thre ...
分类:Windows程序   时间:2020-04-26 01:16:35    阅读次数:105
CopyOnWriteArrayList应用场景
在 CopyOnWriteArrayList 出现之前,我们已经有了 ArrayList 和 LinkedList 作为 List 的数组和链表的实现,而且也有了线程安全的 Vector 和 Collections.synchronizedList() 可以使用。所以首先就让我们来看下线程安全的 V ...
分类:其他好文   时间:2020-04-25 19:30:12    阅读次数:50
310. Minimum Height Trees
package LeetCode_310 import java.util.* import kotlin.collections.ArrayList /** * 310. Minimum Height Trees * https://leetcode.com/problems/minimum-he ...
分类:其他好文   时间:2020-04-25 14:15:15    阅读次数:64
WPF基于Live Charts实现波形图
using LiveCharts;//livecharts.netusing LiveCharts.Wpf;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.T ...
分类:Windows程序   时间:2020-04-24 19:50:45    阅读次数:353
U9 UI插件开发
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UFIDA.U9.WK.PurchasePullChangeUIModel; using System.Data; ...
分类:其他好文   时间:2020-04-24 14:43:31    阅读次数:77
EntityExtend类
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApp4 { using System; using System.Collections.Generic; using Syste ...
分类:其他好文   时间:2020-04-23 21:24:08    阅读次数:60
C# Nancy框架开发 WebApi 二:接口安全签名认证
上一章记录了创建一个Nancy框架的WebApi接口,这一章就在这个接口Demo上继续添加签名安全认证,保证接口的数据请求安全 一:创建一个MD5加密类,按照自己的加密方式来写 using System; using System.Collections.Generic; using System. ...
分类:Windows程序   时间:2020-04-23 17:33:47    阅读次数:96
Collections工具类和集合的流式编程
Collections工具类 针对集合操作的工具类.里面定义的都是静态方法。 Collections和Collection有什么区别? Collection是集合框架中的一个顶层接口,它里面定义了单列集合的共性方法。它有两个常用的子接口. List:对元素都有定义索引。有序的。可以重复元素。 Set ...
分类:其他好文   时间:2020-04-23 00:50:30    阅读次数:61
scala集合-collection
参考:https://www.jianshu.com/p/69bff3c7ec97 Scala的集合类可以从三个维度进行切分: 可变与不可变集合(Immutable and mutable collections) 静态与延迟加载集合 (Eager and delayed evaluation ) ...
分类:其他好文   时间:2020-04-22 16:18:11    阅读次数:63
9831条   上一页 1 ... 32 33 34 35 36 ... 984 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!