- 麻雀虽小,五脏俱全 - Java工具类库 - Hutool
waiter_chen
Hutool官网:https://www.hutool.cn官方参考文档:https://www.hutool.cn/docsAsetoftoolsthatkeepJavasweet.——Htool特点通过静态方法封装,类函数式语言般,降低学习成本,提高工作效率整合多方用户需求,减少代码搜索成本,避免网络上参差不齐的代码出现导致的bugutil包提供多方公用类和公用工具方法,节省开发封装时间,减少
- java解析csv文件工具类_解析.csv文件,Java工具类
米死胃生
java解析csv文件工具类
文件格式为.csv格式的文件,我们需要解析文件里面的数据,进行存储落库。这时就需要解析出.csv格式文件中的数据。我的方式是创建一个对象,对象属性与文件的表头一致,这样文件的解析结果就是一个关于这个对象的集合。maven依赖配置net.sourceforge.javacsvjavacsv2.0com.opencsvopencsv3.8工具类代码:packagecom.chuxin.fight.de
- 2018-08-23 Java工具类——全角半角字符相互转换
Albert陈凯
https://blog.csdn.net/xyw591238/article/details/51719747https://my.oschina.net/zjcx/blog/679604https://segmentfault.com/a/1190000010841143importorg.apache.commons.lang.StringUtils;/****提供对字符串的全角->半角,半
- Filter 实现过滤符合条件的请求并落库
绿皮龟
Java基础合集人工智能opencv数据挖掘语音识别计算机视觉java后端
其他系列文章导航Java基础合集数据结构与算法合集设计模式合集多线程合集分布式合集ES合集文章目录其他系列文章导航文章目录前言一、配置过滤器类二、定义数据表、实体类、Mapper2.1DDL2.2实体类2.3Mapper三、创建一个过滤器四、实现Nacos配置热更新五、自定义RequestWrapper六、容易踩的坑6.1Java工具类Mapper层报空指针6.2工具类中使用@Value给静态变量
- 【java工具类2】JAVA主要解决JSONObject转义符太多斜杠问题\\\\\\\,String太多斜杠怎么处理,替换\\\\\工具类工具方法解决办法,java太多\\\\\\解决
君子志邦
JSON格式:{\"日志\":\"2017-12-0212:03:19,\\\\\\\"elapsedRealtime\\\\\\\":\\\\\\\"1075259399471\\\\\\\",\\\\\\\"source0Id\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"cheme\\\\\\\":\\\\\\\"false\\\\\\\",\\\\\\\"sourceF
- Java判断地图坐标(经度,纬度)是否在多边形区域或圆形区域内
rivercoder
javaredis地图坐标经度纬度
欢迎光临我的博客查看最新文章:https://river106.cn在地图上,可以使用经纬度确定一个位置,如上海体育场(121.449391,31.188228),如果知道了2个地点的经纬度,我们就能在地图上找到其位置及2点的距离,百度地图或高德地图提供了相应的服务;如果将多个坐标点连成多边形区域,如何判断某个坐标点是否在多边形区域内,如下工具类。Java工具类importjava.awt.geo
- 常用Java工具类:手机号脱敏,身份证号脱敏
阿咚do懂
常用Java工具类java开发语言后端
目录:1手机号脱敏2身份证号脱敏3姓名脱敏1手机号脱敏本案要求:手机号的保留前三后四,中间的为星号"*"//手机号码前三后四脱敏publicstaticStringmobileEncrypt(Stringmobile){if(StringUtils.isEmpty(mobile)||(mobile.length()!=11)){returnmobile;}returnmobile.replaceA
- 【Java工具类】OkHttp工具类
frcoder
Javajavaokhttp
com.squareup.okhttp3okhttp4.8.1com.alibabafastjson1.2.83packagecom.frcoder;importcom.alibaba.fastjson.JSON;importokhttp3.Call;importokhttp3.Callback;importokhttp3.FormBody;importokhttp3.MediaType;impo
- SpringBoot实战(二十六)集成SFTP
ACGkaka_
SpringBoot实战springboot后端java
目录一、SFTP简介二、SpringBoot集成2.1Maven依赖2.2application.yml配置2.3DemoController.java接口2.4SftpService.java2.5DemoServiceImpl.java实现类2.6SftpUtils.java工具类2.7执行结果1)上传文件2)下载文件3)重命名文件(移动)4)删除文件一、SFTP简介SFTP:全称Secure
- Java工具类库Hutool
令狐少侠2011
java
这里写目录标题一、简介二、包含组件三、常用功能演示2、时间工具DateUtil3、数字类工具NumberUtil4、身份认证工具IdcardUtil5、信息脱敏工具DesensitizedUtil6、字段校验工具Validator7、集合工具类CollStreamUtil一、简介Hutool是一个小而全的Java工具类库,通过静态方法封装,降低相关API的学习成本,提高工作效率,使Java拥有函数
- 提升编程效率的利器: 解析Google Guava库之集合篇BitMap(三)
地瓜伯伯
工具guavajava开发语言jvmspringcloudspringboot计算机网络
GoogleGuava库提供了大量高效、有用的Java工具类,其中BiMap是一种非常独特的映射结构。与传统的Map不同,BiMap保证了键和值都是唯一的,因此它提供了键到值以及值到键的双向映射。这种数据结构在处理需要双向查找的场景时非常有用。一、BiMap简介BiMap,全称BidirectionalMap,即双向映射,是一种特殊的数据结构,它可以同时支持根据键查找值和根据值查找键的操作,这意味
- 使用这些高效Java工具类享受开发乐趣
偏偏爱吃梨
Java扩展java
使用这些高效Java工具类享受开发乐趣导语在Java中,工具类定义了一组公共方法,这篇文章将介绍Java中使用最频繁及最通用的Java工具类。在开发中,使用这些工具类,不仅可以提高编码效率,还可以提高代码可读性。一,org.apache.commons.lang.StringUtilsisBlank:字符串是否为空(trim后判断)isEmpty:字符串是否为空(不trim并判断)equals:字
- java工具类库-----Hutool
我是来人间凑数的
java#基础java
Hutool介绍Hutool是一个小而全的Java工具类库,通过静态方法封装,降低相关API的学习成本,提高工作效率,使Java拥有函数式语言般的优雅。对文件、流、加密解密、转码、正则、线程、XML等JDK方法进行封装,组成各种Util工具类。提供一下组件:hutool-aopJDK动态代理封装,提供非IOC下的切面支持hutool-bloomFilter布隆过滤,提供一些Hash算法的布隆过滤h
- 整理收集的一些常用java工具类
Java架构学习者
1.json转换工具packagecom.taotao.utils;importjava.util.List;importcom.fasterxml.jackson.core.JsonProcessingException;importcom.fasterxml.jackson.databind.JavaType;importcom.fasterxml.jackson.databind.JsonN
- Java工具类:将xml转为Json
天黑请闭眼
Java工具类JSONjavaxmljson
目录一、场景二、工具类三、测试类四、测试结果一、场景在对接第三方接口时,由于接口返回的并不是常见的Json,而是XML,所以需要将XML转为Json,方便后续处理二、工具类packagecom.xxx.util;importorg.apache.commons.lang.StringUtils;importorg.dom4j.Document;importorg.dom4j.Element;imp
- Java工具类:使用RestTemplate请求WebService接口
天黑请闭眼
Java工具类java
目录一、场景二、工具类一、场景对接第三方提供的WebService接口,早期的调用方式过于复杂繁琐,所以使用RestTemplate进行调用二、工具类packagecom.xxx.util;importorg.slf4j.Logger;importorg.slf4j.LoggerFactory;importorg.springframework.http.HttpEntity;importorg.
- android自动生成dimens适配文件,无需Java工具类
성간 조각
androidstudioandroid
**android自动生成dimens适配文件**在编写ui界面时因为手机分辨率大小不同,所以展现出来的效果也是不同的,这个时候就需要考虑适配器,让根据手机分辨率自动适配相应尺寸来展示界面,可以提高用户的体验感。1.首先安装插件ScreenMatch,安装成功之后androidstudio会提示重启2.在res->values下创建一个dimens文件,将以下代码复制进去。如果不创建这个文件一下操
- Spring 计时器StopWatch
在奋斗的大道
Spring(基础篇)springjava前端
背景在做开发的时候需要记录每个任务执行时间,或者记录一段代码执行时间,简单且粗暴的方法就是打印当前时间与执行完时间的差值,然后这样如果执行大量测试的话就很麻烦,并且不直观,如果想对执行的时间做进一步控制,则需要在程序中很多地方修改,目前spring-framework提供了一个StopWatch类可以做类似任务执行时间控制,也就是封装了一个对开始时间,结束时间记录操作的Java工具类。实例代码pa
- Java工具类——日期相关的类
良许Linux
前言在日常的开发工作当中,我们经常需要用到日期相关的类(包括日期类已经处理日期的类),所以,我就专门整理了一篇关于日期相关的类,希望可以帮助到大家。正文一、日期类介绍在Java里面,操作日期的类主要有以下几个类:工具类所属包继承关系实现接口Date类java.util包,需要导包默认继承ObjectSerializable,Cloneable,ComparableSimpleDateFormat类
- Java工具类——json字符串格式化处理
陈皮太
javajava
在我们拿到一团未经格式化的json字符串时,非常不方便查看,比如这样{"APP_HEAD":{"TOTAL_NUM":"-1","PGUP_OR_PGDN":"0"},"SYS_HEAD":{"RET":[{"RET_CODE":"000000","RET_MSG":"000000SUCCESS"},{"RET_CODE":"000001","RET_MSG":"000001SUCCESS"}],
- Java 日志
十⑧
通用的知识Java学习笔记javalog4jslf4jlogbacklog4j2
目录日志门面与实现框架日志门面日志实现框架总结SLF4j+Logback的实现第一步:添加配置文件logback.xmlLogTool.java工具类(非必要)依赖导入Java程序SpringBoot项目测试其他的日志门面与实现框架日志门面:提供统一的日志输出接口。日志实现:具体实现日志输出的代码。日志门面与实现框架使用日志门面+日志实现框架的方式,是为了:低耦合,日志的实现与业务代码通过日志门面
- Java导出Word文档的实现
keep one's resolveY
Java基础知识javaservletjvm
在日常的开发工作中,我们时常会遇到导出Word文档报表的需求,比如公司的财务报表、医院的患者统计报表、电商平台的销售报表等等。导出Word方式多种多样,通常有以下几种方式:1.使用第三方Java工具类库Hutool的Word工具类,参考网址为https://www.hutool.cn/docs/#/poi/Word生成-Word07Writer;2.利用ApachePOI和FreeMarker模板
- Java 实现音频添加自定义时长静音(附代码) | Java工具类
IT祖师爷
前言wav音频添加自定义时长静音的工具类Maven依赖com.google.guavaguava30.1.1-jrecn.hutoolhutool-all5.5.2代码packageai.guiji.csdn.tools;importcn.hutool.core.io.FileUtil;importcn.hutool.core.io.IoUtil;importcn.hutool.core.util
- Java工具类:获取当前方法上一级、全部的调用者
天黑请闭眼
Java工具类java
目录一、场景二、工具类三、测试类四、测试结果一、场景在一些多线程的代码逻辑中,一个方法可能会被很多不同的线程所调用,如果没办法知道该方法具体的调用者,在通过日志排查问题时,日志会非常难以分析解决:可以在打印日志时,将方法的上一级调用者打印出来二、工具类/***堆栈相关工具类**@authorhcs*@date2023/8/2114:05*/publicclassStackTraceUtils{/*
- mysql(26) : mysql8轻量java工具类
Lxinccode
mysql工具类mysql封装
maven依赖mysqlmysql-connector-java8.0.18importjava.sql.*;importjava.util.LinkedList;importjava.util.List;/***@Auther:liyue*@Date:2021/4/2118:10*@Description:*/publicclassMysqlUtil{privatestaticfinalStri
- JNA
JunChow520
JNA(JavaNativeAccess)是建立在JNI(JavaNativeInterface,Java本地调用)技术之上的Java开源框架,JNA提供了一组Java工具类用于在运行期间动态访问系统本地库(NativeLibrary,如Windows的动态链接库*.dll、Linux的共享库*.so)。使用JNA开发后无需编写任何Native/JNI代码,只需在Java接口中描述目标Native
- 「Java工具类」BeanCopyUtil对象复制工具类
程序员阿宁
Java工具类javajava工具类对象复制java对象复制工具类
介绍语本号主要是Java常用关键技术点,通用工具类的分享;以及springboot+springcloud+Mybatisplus+druid+mysql+redis+swagger+maven+docker等集成框架的技术分享;datax、kafka、flink等大数据处理框架的技术分享。文章会不断更新,欢迎码友关注点赞收藏转发!望各位码友点击关注,冲1000粉。后面会录制一些视频教程,图文和视
- 一个小而全的Java工具类库 | Hutool
陈言懒调
hutool.pngHutool是什么Hutool是一个小而全的Java工具类库,通过静态方法封装,降低相关API的学习成本,提高工作效率,使Java拥有函数式语言般的优雅,让Java语言也可以“甜甜的”。Hutool中的工具方法来自每个用户的精雕细琢,它涵盖了Java开发底层代码中的方方面面,它既是大型项目开发中解决小问题的利器,也是小型项目中的效率担当;Hutool是项目中“util”包友好的
- 排名前16的Java工具类
alterem
在Java中,工具类定义了一组公共方法,这篇文章将介绍Java中使用最频繁及最通用的Java工具类。以下工具类、方法按使用流行度排名,参考数据来源于Github上随机选取的5万个开源项目源码。一.org.apache.commons.io.IOUtilscloseQuietly:关闭一个IO流、socket、或者selector且不抛出异常,通常放在finally块toString:转换IO流、U
- HuTool 工具类简单使用
大鵬
javajava
官方文档https://hutool.cn/docs/#/简介Hutool是一个小而全的Java工具类库,通过静态方法封装,降低相关API的学习成本,提高工作效率,使Java拥有函数式语言般的优雅,让Java语言也可以“甜甜的”。Hutool中的工具方法来自于每个用户的精雕细琢,它涵盖了Java开发底层代码中的方方面面,它既是大型项目开发中解决小问题的利器,也是小型项目中的效率担当;Hutool是
- 关于旗正规则引擎规则中的上传和下载问题
何必如此
文件下载压缩jsp文件上传
文件的上传下载都是数据流的输入输出,大致流程都是一样的。
一、文件打包下载
1.文件写入压缩包
string mainPath="D:\upload\"; 下载路径
string tmpfileName=jar.zip; &n
- 【Spark九十九】Spark Streaming的batch interval时间内的数据流转源码分析
bit1129
Stream
以如下代码为例(SocketInputDStream):
Spark Streaming从Socket读取数据的代码是在SocketReceiver的receive方法中,撇开异常情况不谈(Receiver有重连机制,restart方法,默认情况下在Receiver挂了之后,间隔两秒钟重新建立Socket连接),读取到的数据通过调用store(textRead)方法进行存储。数据
- spark master web ui 端口8080被占用解决方法
daizj
8080端口占用sparkmaster web ui
spark master web ui 默认端口为8080,当系统有其它程序也在使用该接口时,启动master时也不会报错,spark自己会改用其它端口,自动端口号加1,但为了可以控制到指定的端口,我们可以自行设置,修改方法:
1、cd SPARK_HOME/sbin
2、vi start-master.sh
3、定位到下面部分
- oracle_执行计划_谓词信息和数据获取
周凡杨
oracle执行计划
oracle_执行计划_谓词信息和数据获取(上)
一:简要说明
在查看执行计划的信息中,经常会看到两个谓词filter和access,它们的区别是什么,理解了这两个词对我们解读Oracle的执行计划信息会有所帮助。
简单说,执行计划如果显示是access,就表示这个谓词条件的值将会影响数据的访问路径(表还是索引),而filter表示谓词条件的值并不会影响数据访问路径,只起到
- spring中datasource配置
g21121
dataSource
datasource配置有很多种,我介绍的一种是采用c3p0的,它的百科地址是:
http://baike.baidu.com/view/920062.htm
<!-- spring加载资源文件 -->
<bean name="propertiesConfig"
class="org.springframework.b
- web报表工具FineReport使用中遇到的常见报错及解决办法(三)
老A不折腾
finereportFAQ报表软件
这里写点抛砖引玉,希望大家能把自己整理的问题及解决方法晾出来,Mark一下,利人利己。
出现问题先搜一下文档上有没有,再看看度娘有没有,再看看论坛有没有。有报错要看日志。下面简单罗列下常见的问题,大多文档上都有提到的。
1、repeated column width is largerthan paper width:
这个看这段话应该是很好理解的。比如做的模板页面宽度只能放
- mysql 用户管理
墙头上一根草
linuxmysqluser
1.新建用户 //登录MYSQL@>mysql -u root -p@>密码//创建用户mysql> insert into mysql.user(Host,User,Password) values(‘localhost’,'jeecn’,password(‘jeecn’));//刷新系统权限表mysql>flush privileges;这样就创建了一个名为:
- 关于使用Spring导致c3p0数据库死锁问题
aijuans
springSpring 入门Spring 实例Spring3Spring 教程
这个问题我实在是为整个 springsource 的员工蒙羞
如果大家使用 spring 控制事务,使用 Open Session In View 模式,
com.mchange.v2.resourcepool.TimeoutException: A client timed out while waiting to acquire a resource from com.mchange.
- 百度词库联想
annan211
百度
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>RunJS</title&g
- int数据与byte之间的相互转换实现代码
百合不是茶
位移int转bytebyte转int基本数据类型的实现
在BMP文件和文件压缩时需要用到的int与byte转换,现将理解的贴出来;
主要是要理解;位移等概念 http://baihe747.iteye.com/blog/2078029
int转byte;
byte转int;
/**
* 字节转成int,int转成字节
* @author Administrator
*
- 简单模拟实现数据库连接池
bijian1013
javathreadjava多线程简单模拟实现数据库连接池
简单模拟实现数据库连接池
实例1:
package com.bijian.thread;
public class DB {
//private static final int MAX_COUNT = 10;
private static final DB instance = new DB();
private int count = 0;
private i
- 一种基于Weblogic容器的鉴权设计
bijian1013
javaweblogic
服务器对请求的鉴权可以在请求头中加Authorization之类的key,将用户名、密码保存到此key对应的value中,当然对于用户名、密码这种高机密的信息,应该对其进行加砂加密等,最简单的方法如下:
String vuser_id = "weblogic";
String vuse
- 【RPC框架Hessian二】Hessian 对象序列化和反序列化
bit1129
hessian
任何一个对象从一个JVM传输到另一个JVM,都要经过序列化为二进制数据(或者字符串等其他格式,比如JSON),然后在反序列化为Java对象,这最后都是通过二进制的数据在不同的JVM之间传输(一般是通过Socket和二进制的数据传输),本文定义一个比较符合工作中。
1. 定义三个POJO
Person类
package com.tom.hes
- 【Hadoop十四】Hadoop提供的脚本的功能
bit1129
hadoop
1. hadoop-daemon.sh
1.1 启动HDFS
./hadoop-daemon.sh start namenode
./hadoop-daemon.sh start datanode
通过这种逐步启动的方式,比start-all.sh方式少了一个SecondaryNameNode进程,这不影响Hadoop的使用,其实在 Hadoop2.0中,SecondaryNa
- 中国互联网走在“灰度”上
ronin47
管理 灰度
中国互联网走在“灰度”上(转)
文/孕峰
第一次听说灰度这个词,是任正非说新型管理者所需要的素质。第二次听说是来自马化腾。似乎其他人包括马云也用不同的语言说过类似的意思。
灰度这个词所包含的意义和视野是广远的。要理解这个词,可能同样要用“灰度”的心态。灰度的反面,是规规矩矩,清清楚楚,泾渭分明,严谨条理,是决不妥协,不转弯,认死理。黑白分明不是灰度,像彩虹那样
- java-51-输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字。
bylijinnan
java
public class PrintMatrixClockwisely {
/**
* Q51.输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字。
例如:如果输入如下矩阵:
1 2 3 4
5 6 7 8
9
- mongoDB 用户管理
开窍的石头
mongoDB用户管理
1:添加用户
第一次设置用户需要进入admin数据库下设置超级用户(use admin)
db.addUsr({user:'useName',pwd:'111111',roles:[readWrite,dbAdmin]});
第一个参数用户的名字
第二个参数
- [游戏与生活]玩暗黑破坏神3的一些问题
comsci
生活
暗黑破坏神3是有史以来最让人激动的游戏。。。。但是有几个问题需要我们注意
玩这个游戏的时间,每天不要超过一个小时,且每次玩游戏最好在白天
结束游戏之后,最好在太阳下面来晒一下身上的暗黑气息,让自己恢复人的生气
&nb
- java 二维数组如何存入数据库
cuiyadll
java
using System;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using System.Xml.Serialization;
using System.IO;
namespace WindowsFormsApplication1
{
- 本地事务和全局事务Local Transaction and Global Transaction(JTA)
darrenzhu
javaspringlocalglobaltransaction
Configuring Spring and JTA without full Java EE
http://spring.io/blog/2011/08/15/configuring-spring-and-jta-without-full-java-ee/
Spring doc -Transaction Management
http://docs.spring.io/spri
- Linux命令之alias - 设置命令的别名,让 Linux 命令更简练
dcj3sjt126com
linuxalias
用途说明
设置命令的别名。在linux系统中如果命令太长又不符合用户的习惯,那么我们可以为它指定一个别名。虽然可以为命令建立“链接”解决长文件名的问 题,但对于带命令行参数的命令,链接就无能为力了。而指定别名则可以解决此类所有问题【1】。常用别名来简化ssh登录【见示例三】,使长命令变短,使常 用的长命令行变短,强制执行命令时询问等。
常用参数
格式:alias
格式:ali
- yii2 restful web服务[格式响应]
dcj3sjt126com
PHPyii2
响应格式
当处理一个 RESTful API 请求时, 一个应用程序通常需要如下步骤 来处理响应格式:
确定可能影响响应格式的各种因素, 例如媒介类型, 语言, 版本, 等等。 这个过程也被称为 content negotiation。
资源对象转换为数组, 如在 Resources 部分中所描述的。 通过 [[yii\rest\Serializer]]
- MongoDB索引调优(2)——[十]
eksliang
mongodbMongoDB索引优化
转载请出自出处:http://eksliang.iteye.com/blog/2178555 一、概述
上一篇文档中也说明了,MongoDB的索引几乎与关系型数据库的索引一模一样,优化关系型数据库的技巧通用适合MongoDB,所有这里只讲MongoDB需要注意的地方 二、索引内嵌文档
可以在嵌套文档的键上建立索引,方式与正常
- 当滑动到顶部和底部时,实现Item的分离效果的ListView
gundumw100
android
拉动ListView,Item之间的间距会变大,释放后恢复原样;
package cn.tangdada.tangbang.widget;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import andr
- 程序员用HTML5制作的爱心树表白动画
ini
JavaScriptjqueryWebhtml5css
体验效果:http://keleyi.com/keleyi/phtml/html5/31.htmHTML代码如下:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="UTF-8" >
<ti
- 预装windows 8 系统GPT模式的ThinkPad T440改装64位 windows 7旗舰版
kakajw
ThinkPad预装改装windows 7windows 8
该教程具有普遍参考性,特别适用于联想的机器,其他品牌机器的处理过程也大同小异。
该教程是个人多次尝试和总结的结果,实用性强,推荐给需要的人!
缘由
小弟最近入手笔记本ThinkPad T440,但是特别不能习惯笔记本出厂预装的Windows 8系统,而且厂商自作聪明地预装了一堆没用的应用软件,消耗不少的系统资源(本本的内存为4G,系统启动完成时,物理内存占用比
- Nginx学习笔记
mcj8089
nginx
一、安装nginx 1、在nginx官方网站下载一个包,下载地址是:
http://nginx.org/download/nginx-1.4.2.tar.gz
2、WinSCP(ftp上传工
- mongodb 聚合查询每天论坛链接点击次数
qiaolevip
每天进步一点点学习永无止境mongodb纵观千象
/* 18 */
{
"_id" : ObjectId("5596414cbe4d73a327e50274"),
"msgType" : "text",
"sendTime" : ISODate("2015-07-03T08:01:16.000Z"
- java术语(PO/POJO/VO/BO/DAO/DTO)
Luob.
DAOPOJODTOpoVO BO
PO(persistant object) 持久对象
在o/r 映射的时候出现的概念,如果没有o/r映射,就没有这个概念存在了.通常对应数据模型(数据库),本身还有部分业务逻辑的处理.可以看成是与数据库中的表相映射的java对象.最简单的PO就是对应数据库中某个表中的一条记录,多个记录可以用PO的集合.PO中应该不包含任何对数据库的操作.
VO(value object) 值对象
通
- 算法复杂度
Wuaner
Algorithm
Time Complexity & Big-O:
http://stackoverflow.com/questions/487258/plain-english-explanation-of-big-o
http://bigocheatsheet.com/
http://www.sitepoint.com/time-complexity-algorithms/