- ⭐算法入门⭐《归并排序》简单01 —— LeetCode 21. 合并两个有序链表
英雄哪里出来
《LeetCode算法全集》算法数据结构链表c++归并排序
饭不食,水不饮,题必须刷C语言免费动漫教程,和我一起打卡!《光天化日学C语言》LeetCode太难?先看简单题!《C语言入门100例》数据结构难?不存在的!《数据结构入门》LeetCode太简单?算法学起来!《夜深人静写算法》文章目录一、题目1、题目描述2、基础框架3、原题链接二、解题报告1、思路分析2、时间复杂度3、代码详解三、本题小知识一、题目1、题目描述 将两个不降序链表合并为一个新的不降
- 2024Mysql And Redis基础与进阶操作系列(8)作者——LJS[含MySQL 创建、修改、跟新、重命名、删除视图等具体详步骤;注意点及常见报错问题所对应的解决方法]
肾透侧视攻城狮
MYSQLREDISAdvanceoperationredismysql数据库linuxsqlbashadb
目录1MySQL视图1.概念2.作用3.特点4.具体如何操作实现MYSQL视图4.1创建视图语法示例查看表和视图查看视图的结构查看视图属性信息(比如:显示数据表的存储引擎、版本、数据行数和数据大小等)查看视图的详细定义信息4.2修改视图简介格式举例4.3更新视图简介下述结构中不可更新的视图补充说明举例更新视图视图包含聚合函数不可更新视图包含distinct不可更新视图包含goupby、having
- Stream 流 根据对象属性去重
abments
jdk1.8新特性pythonpandas数据分析
目录前言一、实现原理二、实现过程三、filter过滤器的原理总结前言这篇文章介绍一种通过stream流对集合中的对象根据key值去重的简便方法。一、实现原理通过Stream流中的filter方法实现对数据的去重,具体操作是构造一个Predict对象,在Predict中通过检查数据是否存在返回断言中的布尔值。二、实现过程代码如下:publicstaticPredicatedistinctPredic
- ABC371 解题报告(A-E)
Plossom
赛后总结深度优先算法c++贪心算法图论性能优化
A题意给定A,B之间,B,C之间,A,C之间的不等关系(大于或小于),问A,B,C中排第二大的数是哪一个。解法乍一看没啥思路,原来正解是打表(8种情况秒了)。 if(a==""){ cout"&&c==""&&c==">"){ cout"&&b==""&&b==""){ cout"&&b==">"&&c==""&&b==">"&&c==">"){ cout>n>
- mysql查询慢排查_mysql慢查询排查优化
weixin_39970855
mysql查询慢排查
即时分析:showfullpercesslist;开启慢查询日志,分析日志记录:long_query_time=1log-slow-queries=/data/3306/slow.loglog_queries_not_using_indexes分割日志发送至邮箱加explain查看语句的具体执行方式,并定位在哪些字段加上索引,查看条件字段的唯一值selectcount(distinctcolumn
- LeetCode 2207. 字符串中最多数目的子字符串
Sasakihaise_
LeetCodeleetcode后缀和
题目链接:力扣https://leetcode-cn.com/problems/maximize-number-of-subsequences-in-a-string/【分析】由于pattern中只有两个字符,假设分别是a、b,只需要统计出text中每个a后面有多少b即可,这儿这个通过后缀和的思想,先算出总的b的个数,如果当前字符是a,那么后面b的个数就是总的b的个数,如果是b,就把总的b的个数-
- MySQL之DQL条件查询
忧郁的西红柿
mysqlandroid数据库
1、单条件查询2.1单条件查询语法:SELECT[DISTINCT]*|列名|表达式[别名][,...]FROM表名[WHERE条件表达式];说明:1、条件查询使用WHERE子句来完成,WHERE子句必须紧跟在FROM子句后面。2、条件表达式的格式为:列名比较运算符要比较的值,如deptno=10表示部门编号为10号。3、比较运算符包括=、>、>=、,含义分别是等于、大于、大等于、小于、小等于、不
- 牛客周赛 Round 13 解题报告 | 珂学家 | 乘法原理场 + BFS上组合 + 众数贪心
Buoluochuixue
java
题解|#简单计算器##includeintmain(){doublea,b;charoperate;scanf(&迈瑞医疗一面等了面试官十几分钟,更气人在后面上来自我介绍完了就让开始做题。。。题不算很难,做完了之后,讲了下思路,后面根据简历提问。一分钟简单介绍下实习做的东西,我说到一半经纬恒润Java开发一面时长:35min1.聊项目2.gc3.线程共享私有4.类加载过程5.I/O相关6.Spri
- 两个月冲刺软考——SQL基础:排序、分组和聚合函数的实用指南
努力编程的阿伟
软考-数据库数据库sql
1.涉及到的部分基本语法1.1ORDERBY与GROUPBYORDERBY用于对查询结果进行排序;默认是升序(ASC),可以指定降序(DESC)。GROUPBY用于将数据按照一个或多个列进行分组;通常与聚合函数(如SUM、AVG、COUNT等)一起使用。使用聚合函数时需加括号,即:AVG(单价),表示平均单价。二者均位于SQL语句的末尾。1.2SELECT语句SELECT[DISTINCT]col
- SQL的高级查询练习知识点(day24)
小星袁
MySQL数据库基础知识大全数据库sqlmysql
目录1学习目标2基础查询2.1语法2.2例子3条件查询3.1含义3.2语法3.3条件表达式3.3.1条件运算符3.3.2例子3.4逻辑表达式3.4.1逻辑运算符3.4.2例子3.5模糊查询3.5.1概述3.5.2例子4DISTINCT关键字4.1含义4.2例子5总结一键三连哦!各位袁友......1学习目标重点掌握基础查询语法重点掌握条件查询语法重点掌握distinct关键字的使用2基础查询2.1
- 小记XML写sql的聚合函数用法
J总裁的小芒果
sqlxml数据库
一、GROUP_CONCAT手动查出需要用于查询、展示的字段用法:(需要GROUPBY)将每个岗位下的姓名合并为一个以逗号分隔的字符串SELECTGROUP_CONCAT(DISTINCTu.nickNameSEPARATOR',')FROMsystem_postASpostJOINsystem_user_postASupONpost.id=up.post_idWHERE.......--DIST
- stream流式编程
chenlaida
JAVA8java
文章目录stream流式编程常用的stream三种创建方式Stream的终止操作Collectors具体方法常用方法filtermapgroupBy求和交集,并集,差集flatMappeekdistinctlimitsortedmatch匹配find寻找元素计数和极值stream流式编程常用的stream三种创建方式集合Collection.stream()静态方法Streamof数组Arrays
- [leetcode] 408. Valid Word Abbreviation 解题报告
小榕流光
leetcodestringleetcodestring
题目链接:https://leetcode.com/problems/valid-word-abbreviation/Givenanon-emptystringsandanabbreviationabbr,returnwhetherthestringmatcheswiththegivenabbreviation.Astringsuchas
- 【SQL】跳过记录筛选第二名
F_D_Z
SQLsql数据库MySQL
目录语法需求示例分析代码语法SELECTDISTINCTcolumn1,column2,...SELECTDISTINCT语句用于返回唯一不同的值。SELECTDISTINCT后面跟着想要获取唯一值的列名,列名之间用逗号分隔。当从数据库表中查询数据时,如果表中某列包含重复的值,而又只想获取这些值的唯一列表,那么就可以使用DISTINCT关键字。如果对多个列使用DISTINCT,那么SQL会返回这些
- 单细胞转录组和表观组学图谱揭示效应、记忆和耗竭CD8 T细胞在不同细胞命运分化中的共享生物学特征(下篇)
Davey1220
文章信息文章题目:Longitudinalsinglecelltranscriptionalandepigeneticmappingofeffector,memory,andexhaustedCD8Tcellsrevealssharedbiologicalcircuitsacrossdistinctcellfates期刊:bioRxiv链接:https://www.biorxiv.org/cont
- mysql 聚合函数 / having
_Rookie._
MYSQLmysql
与聚合函数同时出现的列,必须同时出现在groupby子句中过滤条件中使用了聚合函数,必须用having替换where过滤条件中没有使用聚合函数,可以用having或者where建议wherehavingmax()having使用范围更广having是先连接后筛选,where是先筛选后连接sql执行顺序1、fromjoinwheregroupbyhaving2、selectdistinct聚合函数3
- SQL基础(四)-- SQL连接时去掉重复数据
weixin_30478923
一、关键词DISTINCT用于返回唯一不同的值,只可以在select中使用。1.重复数据完全一样,用distinctselectdistinct*fromtable根据字段去重用distinctselectdistinct列名称from表名称(对一列进行操作)selectdistinct列名称1,列名称2from表名称(对多列进行操作):对多列操作,表示选取多列都不重复的数据,相当于多列拼接的记录
- SQL基础语法
隔壁村的菜GO
数据库sql数据库
SQL语句基本语法查询SELECTcolumn_name,column_nameFROMtable_name;SELECT*FROMtable_name;SELECTDISTINCTcolumn_nameFROMtable_name;DISTINCT关键词用于返回唯一不同的值。SELECT*FROMtable_nameWHEREcolumn_name=value;WHERE子句用于提取那些满足指定
- mapper.xml中特殊符号的转义
SheldonChang
数据库javamybatisxml
在使用mapper.xml编写sql语句的时候,我们经常会使用到比较符号,此时不可以像往常一样直接进行使用,需要进行转义,转义参考规则如:>=&’"<<=>>=&'"例如常见的时间比较:错误写法selectdistinctfromxxxcreate_date正确写法selectdistinctfromxxxcreate_date<=#{cr
- Java中的Stream流
·云扬·
Javajava开发语言
文章目录1引言使用流解决上述问题2流的概述2.2什么是流2.3流用来解决什么问题2.4怎么使用流3创建流4中间操作4.1==filter(过滤操作)==4.2distinct(去重)4.3limit(截取)4.4skip(跳过)4.5==map(转换)==4.6sorted(排序)5终止操作5.1anyMatch(是否有任意一个匹配)5.2allMatch(是否所有的全匹配)5.3noneMatc
- 讲解:41900、C、C/C++、C/C++、CWeb|Prolog
eioo108
41900–FundamentalsofSecurityProject–2(Week8–Week12)One-WayPropertyversusCollision-FreePropertyInthisprojectyouwillinvestigatethedifferencebetweenhashfunction’stwodistinctiveproperties:one-waypropertya
- Lambda终结操作count
Leon_Jinhai_Sun
Lambda
count可以用来获取当前流中元素的个数。例子:打印这些作家的所出书籍的数目,注意删除重复元素。//打印这些作家的所出书籍的数目,注意删除重复元素。Listauthors=getAuthors();longcount=authors.stream().flatMap(author->author.getBooks().stream()).distinct().count();System.out.
- sql学习 sum()和count()
ferventtempo_
SQL学习
1、count的常用用法count(column_name)函数返回指定列的值的数目count(*)、count(1)函数返回表的行数count(distinctcolumn_name)函数返回column_name不同的的行数2、sumsum()函数返回数值列的总数。注意:count(条件)即使条件不满足,括号内为非null时也会加1,而sum(条件)只有在满足条件表达式才加1使用if(a,b,
- java-stream
滑上又滑落 一收和一放
自学技能点java
streamstream记录一下,方便以后查询,就是怕自己记不住stream方法作用filter()接收lambda,从流中排除某些操作limit()截断流,使其元素不超过给定对象skip(n)跳过元素,返回一个扔掉了前n个元素的流,若流中元素不足n个,则返回一个空流,与limit(n)互补distinct筛选,通过流所生成元素的hashCode()和equals去除重复元素map接受Lambda
- 每日刷力扣SQL题(六)
Jy_0622
leetcodesql数据库
1978.上级经理已离职的公司员工selectemployee_idfromEmployeeswheresalary<30000andmanager_idnotin(selectdistinctemployee_idfromEmployees)orderbyemployee_idASC626换座位在SQL中实现每两行交换数据可以通过使用窗口函数和自连接来完成。#WriteyourMySQLquer
- 每日刷力扣SQL(九)
Jy_0622
leetcodesql算法
1484.按日期分组销售产品转载首先,根据题目的描述以及给出的示例。我们能得到结果集中各个字段的含义如下:①sell_date:卖出产品的日期(应该不用解释了)②num_sold:当前这个日期下,卖出去了多少个不同的产品(注意是“不同的”,这决定了我们需要用DISTINCT去重)③products:某一sell_date下的卖出的所有不同产品的名称接着,我们一个一个思考怎么得到结果集中的各个字段针
- LeetCode 剑指 Offer II 093. 最长斐波那契数列
大涛小先生
LeetCode解题报告leetcode算法动态规划
LeetCode剑指OfferII093.最长斐波那契数列文章目录LeetCode剑指OfferII093.最长斐波那契数列题目描述一、解题关键词二、解题报告1.思路分析2.时间复杂度3.代码示例2.知识点总结相同题目题目描述如果序列X_1,X_2,…,X_n满足下列条件,就说它是斐波那契式的:n>=3对于所有i+2<=n,都有X_i+X_{i+1}=X_{i+2}给定一个严格递增的正整数数组形成
- LeetCode 336. Palindrome Pairs
z6491679
acmleetcode
Givenalistofuniquewords.Findallpairsofdistinctindices(i,j)inthegivenlist,sothattheconcatenationofthetwowords,i.e.words[i]+words[j]isapalindrome.Example1:Givenwords=[“bat”,“tab”,“cat”]Return[[0,1],[1,0
- leetcode题解-336. Palindrome Pairs
liuchongee
leetcode刷题leetcode
题目:Givenalistofuniquewords,findallpairsofdistinctindices(i,j)inthegivenlist,sothattheconcatenationofthetwowords,i.e.words[i]+words[j]isapalindrome.Example1:Givenwords=[“bat”,“tab”,“cat”]Return[[0,1],[
- Leetcode 336. Palindrome Pairs- FB tag
a568093361
leetcode
Givenalistofuniquewords,findallpairsofdistinctindices(i,j)inthegivenlist,sothattheconcatenationofthetwowords,i.e.words[i]+words[j]isapalindrome.Example1:Input:["abcd","dcba","lls","s","sssll"]Output:[
- linux系统服务器下jsp传参数乱码
3213213333332132
javajsplinuxwindowsxml
在一次解决乱码问题中, 发现jsp在windows下用js原生的方法进行编码没有问题,但是到了linux下就有问题, escape,encodeURI,encodeURIComponent等都解决不了问题
但是我想了下既然原生的方法不行,我用el标签的方式对中文参数进行加密解密总该可以吧。于是用了java的java.net.URLDecoder,结果还是乱码,最后在绝望之际,用了下面的方法解决了
- Spring 注解区别以及应用
BlueSkator
spring
1. @Autowired
@Autowired是根据类型进行自动装配的。如果当Spring上下文中存在不止一个UserDao类型的bean,或者不存在UserDao类型的bean,会抛出 BeanCreationException异常,这时可以通过在该属性上再加一个@Qualifier注解来声明唯一的id解决问题。
2. @Qualifier
当spring中存在至少一个匹
- printf和sprintf的应用
dcj3sjt126com
PHPsprintfprintf
<?php
printf('b: %b <br>c: %c <br>d: %d <bf>f: %f', 80,80, 80, 80);
echo '<br />';
printf('%0.2f <br>%+d <br>%0.2f <br>', 8, 8, 1235.456);
printf('th
- config.getInitParameter
171815164
parameter
web.xml
<servlet>
<servlet-name>servlet1</servlet-name>
<jsp-file>/index.jsp</jsp-file>
<init-param>
<param-name>str</param-name>
- Ant标签详解--基础操作
g21121
ant
Ant的一些核心概念:
build.xml:构建文件是以XML 文件来描述的,默认构建文件名为build.xml。 project:每个构建文
- [简单]代码片段_数据合并
53873039oycg
代码
合并规则:删除家长phone为空的记录,若一个家长对应多个孩子,保留一条家长记录,家长id修改为phone,对应关系也要修改。
代码如下:
- java 通信技术
云端月影
Java 远程通信技术
在分布式服务框架中,一个最基础的问题就是远程服务是怎么通讯的,在Java领域中有很多可实现远程通讯的技术,例如:RMI、MINA、ESB、Burlap、Hessian、SOAP、EJB和JMS等,这些名词之间到底是些什么关系呢,它们背后到底是基于什么原理实现的呢,了解这些是实现分布式服务框架的基础知识,而如果在性能上有高的要求的话,那深入了解这些技术背后的机制就是必须的了,在这篇blog中我们将来
- string与StringBuilder 性能差距到底有多大
aijuans
之前也看过一些对string与StringBuilder的性能分析,总感觉这个应该对整体性能不会产生多大的影响,所以就一直没有关注这块!
由于学程序初期最先接触的string拼接,所以就一直没改变过自己的习惯!
- 今天碰到 java.util.ConcurrentModificationException 异常
antonyup_2006
java多线程工作IBM
今天改bug,其中有个实现是要对map进行循环,然后有删除操作,代码如下:
Iterator<ListItem> iter = ItemMap.keySet.iterator();
while(iter.hasNext()){
ListItem it = iter.next();
//...一些逻辑操作
ItemMap.remove(it);
}
结果运行报Con
- PL/SQL的类型和JDBC操作数据库
百合不是茶
PL/SQL表标量类型游标PL/SQL记录
PL/SQL的标量类型:
字符,数字,时间,布尔,%type五中类型的
--标量:数据库中预定义类型的变量
--定义一个变长字符串
v_ename varchar2(10);
--定义一个小数,范围 -9999.99~9999.99
v_sal number(6,2);
--定义一个小数并给一个初始值为5.4 :=是pl/sql的赋值号
- Mockito:一个强大的用于 Java 开发的模拟测试框架实例
bijian1013
mockito单元测试
Mockito框架:
Mockito是一个基于MIT协议的开源java测试框架。 Mockito区别于其他模拟框架的地方主要是允许开发者在没有建立“预期”时验证被测系统的行为。对于mock对象的一个评价是测试系统的测
- 精通Oracle10编程SQL(10)处理例外
bijian1013
oracle数据库plsql
/*
*处理例外
*/
--例外简介
--处理例外-传递例外
declare
v_ename emp.ename%TYPE;
begin
SELECT ename INTO v_ename FROM emp
where empno=&no;
dbms_output.put_line('雇员名:'||v_ename);
exceptio
- 【Java】Java执行远程机器上Linux命令
bit1129
linux命令
Java使用ethz通过ssh2执行远程机器Linux上命令,
封装定义Linux机器的环境信息
package com.tom;
import java.io.File;
public class Env {
private String hostaddr; //Linux机器的IP地址
private Integer po
- java通信之Socket通信基础
白糖_
javasocket网络协议
正处于网络环境下的两个程序,它们之间通过一个交互的连接来实现数据通信。每一个连接的通信端叫做一个Socket。一个完整的Socket通信程序应该包含以下几个步骤:
①创建Socket;
②打开连接到Socket的输入输出流;
④按照一定的协议对Socket进行读写操作;
④关闭Socket。
Socket通信分两部分:服务器端和客户端。服务器端必须优先启动,然后等待soc
- angular.bind
boyitech
AngularJSangular.bindAngularJS APIbind
angular.bind 描述: 上下文,函数以及参数动态绑定,返回值为绑定之后的函数. 其中args是可选的动态参数,self在fn中使用this调用。 使用方法: angular.bind(se
- java-13个坏人和13个好人站成一圈,数到7就从圈里面踢出一个来,要求把所有坏人都给踢出来,所有好人都留在圈里。请找出初始时坏人站的位置。
bylijinnan
java
import java.util.ArrayList;
import java.util.List;
public class KickOutBadGuys {
/**
* 题目:13个坏人和13个好人站成一圈,数到7就从圈里面踢出一个来,要求把所有坏人都给踢出来,所有好人都留在圈里。请找出初始时坏人站的位置。
* Maybe you can find out
- Redis.conf配置文件及相关项说明(自查备用)
Kai_Ge
redis
Redis.conf配置文件及相关项说明
# Redis configuration file example
# Note on units: when memory size is needed, it is possible to specifiy
# it in the usual form of 1k 5GB 4M and so forth:
#
- [强人工智能]实现大规模拓扑分析是实现强人工智能的前奏
comsci
人工智能
真不好意思,各位朋友...博客再次更新...
节点数量太少,网络的分析和处理能力肯定不足,在面对机器人控制的需求方面,显得力不从心....
但是,节点数太多,对拓扑数据处理的要求又很高,设计目标也很高,实现起来难度颇大...
- 记录一些常用的函数
dai_lm
java
public static String convertInputStreamToString(InputStream is) {
StringBuilder result = new StringBuilder();
if (is != null)
try {
InputStreamReader inputReader = new InputStreamRead
- Hadoop中小规模集群的并行计算缺陷
datamachine
mapreducehadoop并行计算
注:写这篇文章的初衷是因为Hadoop炒得有点太热,很多用户现有数据规模并不适用于Hadoop,但迫于扩容压力和去IOE(Hadoop的廉价扩展的确非常有吸引力)而尝试。尝试永远是件正确的事儿,但有时候不用太突进,可以调优或调需求,发挥现有系统的最大效用为上策。
-----------------------------------------------------------------
- 小学4年级英语单词背诵第二课
dcj3sjt126com
englishword
egg 蛋
twenty 二十
any 任何
well 健康的,好
twelve 十二
farm 农场
every 每一个
back 向后,回
fast 快速的
whose 谁的
much 许多
flower 花
watch 手表
very 非常,很
sport 运动
Chinese 中国的
- 自己实践了github的webhooks, linux上面的权限需要注意
dcj3sjt126com
githubwebhook
环境, 阿里云服务器
1. 本地创建项目, push到github服务器上面
2. 生成www用户的密钥
sudo -u www ssh-keygen -t rsa -C "
[email protected]"
3. 将密钥添加到github帐号的SSH_KEYS里面
3. 用www用户执行克隆, 源使
- Java冒泡排序
蕃薯耀
冒泡排序Java冒泡排序Java排序
冒泡排序
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
蕃薯耀 2015年6月23日 10:40:14 星期二
http://fanshuyao.iteye.com/
- Excle读取数据转换为实体List【基于apache-poi】
hanqunfeng
apache
1.依赖apache-poi
2.支持xls和xlsx
3.支持按属性名称绑定数据值
4.支持从指定行、列开始读取
5.支持同时读取多个sheet
6.具体使用方式参见org.cpframework.utils.excelreader.CP_ExcelReaderUtilTest.java
比如:
Str
- 3个处于草稿阶段的Javascript API介绍
jackyrong
JavaScript
原文:
http://www.sitepoint.com/3-new-javascript-apis-may-want-follow/?utm_source=html5weekly&utm_medium=email
本文中,介绍3个仍然处于草稿阶段,但应该值得关注的Javascript API.
1) Web Alarm API
&
- 6个创建Web应用程序的高效PHP框架
lampcy
Web框架PHP
以下是创建Web应用程序的PHP框架,有coder bay网站整理推荐:
1. CakePHP
CakePHP是一个PHP快速开发框架,它提供了一个用于开发、维护和部署应用程序的可扩展体系。CakePHP使用了众所周知的设计模式,如MVC和ORM,降低了开发成本,并减少了开发人员写代码的工作量。
2. CodeIgniter
CodeIgniter是一个非常小且功能强大的PHP框架,适合需
- 评"救市后中国股市新乱象泛起"谣言
nannan408
首先来看百度百家一位易姓作者的新闻:
三个多星期来股市持续暴跌,跌得投资者及上市公司都处于极度的恐慌和焦虑中,都要寻找自保及规避风险的方式。面对股市之危机,政府突然进入市场救市,希望以此来重建市场信心,以此来扭转股市持续暴跌的预期。而政府进入市场后,由于市场运作方式发生了巨大变化,投资者及上市公司为了自保及为了应对这种变化,中国股市新的乱象也自然产生。
首先,中国股市这两天
- 页面全屏遮罩的实现 方式
Rainbow702
htmlcss遮罩mask
之前做了一个页面,在点击了某个按钮之后,要求页面出现一个全屏遮罩,一开始使用了position:absolute来实现的。当时因为画面大小是固定的,不可以resize的,所以,没有发现问题。
最近用了同样的做法做了一个遮罩,但是画面是可以进行resize的,所以就发现了一个问题,当画面被reisze到浏览器出现了滚动条的时候,就发现,用absolute 的做法是有问题的。后来改成fixed定位就
- 关于angularjs的点滴
tntxia
AngularJS
angular是一个新兴的JS框架,和以往的框架不同的事,Angularjs更注重于js的建模,管理,同时也提供大量的组件帮助用户组建商业化程序,是一种值得研究的JS框架。
Angularjs使我们可以使用MVC的模式来写JS。Angularjs现在由谷歌来维护。
这里我们来简单的探讨一下它的应用。
首先使用Angularjs我
- Nutz--->>反复新建ioc容器的后果
xiaoxiao1992428
DAOmvcIOCnutz
问题:
public class DaoZ {
public static Dao dao() { // 每当需要使用dao的时候就取一次
Ioc ioc = new NutIoc(new JsonLoader("dao.js"));
return ioc.get(