码迷,mamicode.com
首页 >  
搜索关键字:collections deque counter    ( 12297个结果
关于过滤器的方式
1.创建过滤类 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace P01MVCFilter.Filters { // ...
分类:其他好文   时间:2020-02-12 23:45:37    阅读次数:80
Collections工具类
Collections是一个操作Set,List和Map等集合的工具类。 Collections中提供了一系列静态的方法对集合元素进行排序查询和修改等操作,还提供了对集合对象设置不可变和对集合对象实现同步控制等方法。(均为静态方法) 1. 排序操作(主要针对List接口相关) reverse(Lis ...
分类:其他好文   时间:2020-02-12 20:44:49    阅读次数:76
JAVA不可变List的实现
有时候方法返回一个列表但是不想调用者改变列表内容。有三种方法可以实现不可变列表,通过调用JDK,Guava以及Apache Commons Collections相关API来实现。 1.JDK @Test public void jdkTest() { List<String> fruitsList ...
分类:编程语言   时间:2020-02-12 18:18:14    阅读次数:95
数据结构 List Set Collections Map - 07
数据结构: 数据存储的常用结构有:栈、队列、数组、链表和红黑树。 栈: 栈:stack, 又称堆栈。 先进后出。 栈的入口、出口的都是栈的顶端位置。 压栈:就是存元素。即,把元素存储到栈的顶端位置,栈中已有元素依次向栈底方向移动一个位置。 弹栈:就是取元素。即,把栈的顶端位置元素取出,栈中已有元素依 ...
分类:其他好文   时间:2020-02-12 16:38:26    阅读次数:61
温故知新之:反射:加载程序集中的类,动态调用
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Reflection; 5 using System.Text; 6 7 //Net Reflector(收费)官方网址:h ...
分类:其他好文   时间:2020-02-12 10:48:29    阅读次数:77
Grid++Report生成送货单
原文:Grid++Report生成送货单 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Lin... ...
分类:其他好文   时间:2020-02-11 16:10:22    阅读次数:60
C# 源码学习——QUEUE
1、Queue声明创建对象。(Queue为泛型对象。) public class Queue<T> :IEnumerable<T>,System.Collections.ICollection,IReadOnlyCollection<T> 本质为Array对象存储数据。 Queue<string> ...
分类:Windows程序   时间:2020-02-11 00:31:23    阅读次数:166
C++代码质量度量工具大阅兵
姊妹篇:Java代码质量度量工具大阅兵: cppcheck cppcheck: 各种IDE和编辑器插件: 检查项: CCCC C and C++ Code Counter(CCCC): PC lint for C/C++ PC lint for C/C++: cpplint cpplint: Vis ...
分类:编程语言   时间:2020-02-10 22:57:40    阅读次数:156
航电oj1029
学习了https://www.cnblogs.com/xiaozou-zone/p/11127918.html,比我原来开数组1000000妙多了。 #include <iostream> using namespace std; int main() { int n,counter=0,a,t; ...
分类:其他好文   时间:2020-02-10 11:34:19    阅读次数:60
commons-collections介绍
Commons Collections增强了Java集合框架。 它提供了几个功能来简化收集处理。 它提供了许多新的接口,实现和实用程序。 <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-collection ...
分类:其他好文   时间:2020-02-10 10:09:23    阅读次数:123
12297条   上一页 1 ... 72 73 74 75 76 ... 1230 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!