码迷,mamicode.com
首页 >  
搜索关键字:reference value    ( 43034个结果
java的几种对象(PO,VO,DAO,BO,POJO)解释
一、PO:persistant object 持久对象,可以看成是与数据库中的表相映射的java对象。最简单的PO就是对应数据库中某个表中的一条记录,多个记录可以用PO的集合。PO中应该不包含任何对数据库的操作。    二、VO:value object值对象。通常用于业务层之间的数据传递,和PO一样也是仅仅包含数据而已。但应是抽象出的业务对象,可以和表对应,也可以不,这根据业务的需要.个人觉得...
分类:编程语言   时间:2014-06-05 11:40:33    阅读次数:375
Invalid action class configuration that reference 异常
遇到Invalid action class configuration that reference的时候,你可以在你的Action中设置一下断点,来判断一下他是否找到了这个action。 不过遇到这个异常的时候都是没有进到action。 这时候,有几种可能导致呢? (1)struts.xml的配置写的不对,name,class检查一下。如果是和spring做整合的,要注意struts中的...
分类:其他好文   时间:2014-06-05 10:22:29    阅读次数:165
LeetCode: Search a 2D Matrix [074]
【题目】 Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted from left to right. The first integer of each row is greater than the last integer of the previous ...
分类:其他好文   时间:2014-06-05 08:28:43    阅读次数:321
ARC forbids explicit message send of release
解决方法: 点击一下工程,工程-->"Build Settings"-->找到Objective-C Automatic Reference Counting项-->将它的值设置为NO。ok 找到Objective-C Automatic Reference Counting项...
分类:其他好文   时间:2014-06-05 07:43:00    阅读次数:303
对HashMap的value排序
HashMap sMap = new HashMap();  sMap.put("张三", 90L);  sMap.put("李四", 79L);  sMap.put("王五", 88L);  sMap.put("赵六", 76L);      ArrayList> list = new ArrayList>(sMap.entrySet());       Collections...
分类:其他好文   时间:2014-06-05 07:02:28    阅读次数:211
MapReduce实现排序功能
期间遇到了无法转value的值为int型,我采用try catch解决 str2 2 str1 1 str3 3 str1 4 str4 7 str2 5 str3 9 用的\t隔开,得到结果  str1 1,4  str2 2,5 str3 3,9 str4 7 我这里map,reduce都是单独出来的类,用了自定义的key package com.kan...
分类:其他好文   时间:2014-06-05 06:52:38    阅读次数:353
UVA Tree
题目如下: Tree  You are to determine the value of the leaf node in a given binary treethat is the terminal node of a path of least value from the root of thebinary tree to any le...
分类:其他好文   时间:2014-06-05 05:27:11    阅读次数:268
C++:关于class member声明为static的情况
2014.5.27 reference: C++ primer 5th, $7.6:Static Class Members TOPIC 1:一个类中的member(data member和function member)可以声明为static,需要申明为static的情况有一下原因: 1:使用的客观需要:需要某个member是associated with the class,not wi...
分类:编程语言   时间:2014-06-05 05:19:15    阅读次数:263
eclipse git 报错:the current branch is not configured for pull No value for key branch.xxx.merge found
eclipse git 报错:the current branch is not configured for pull No value for key branch.xxx.merge found in configuration 如图: 这是因为 在用gui创建分支的时候 config文件没有创建branch 在config文件加上 [branch "xxx"] ...
分类:系统相关   时间:2014-06-05 05:15:19    阅读次数:326
Euler_problem_14 for python
Euler 14的不同解法 ----所涉及的知识 1. yield 2.BF 3. decorator 4.cache 5.等等 def euler_problem_14():     """         最直接粗暴的解法:就是直接如下所示了     """     max_count = 1     max_value = 1     for i in xrange(10010...
分类:编程语言   时间:2014-06-05 04:46:16    阅读次数:266
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!