码迷,mamicode.com
首页 >  
搜索关键字:spring data commons    ( 108903个结果
获取设备上的某个目录下的所有文件
有两种方法:1.通过Eclipse中的集成插件DDMS中的File Explorer(Pull a file from device),但是有时候明明连成,但是就是无法将文件pull下来.虽然也运行了 adb root发生这种错误时,采用方法2;2.通过adb 命名$ adb pull /data/...
分类:其他好文   时间:2014-06-11 13:14:31    阅读次数:198
leetcode:LRU Cache
1 /* 2 Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. 3 ...
分类:其他好文   时间:2014-06-11 13:08:46    阅读次数:297
排序算法
一、插入排序1.直接插入排序算法稳定,时间复杂度为O(n^2),空间移动复杂度为O(n2)如果序列是有序的,最好的时间复杂度为O(n)void insertSort(int data[],int n){ for(int i=1;i=0&&data[j]>temp) { d...
分类:其他好文   时间:2014-06-11 12:53:06    阅读次数:266
Careercup | Chapter 1
1.1Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structures?字符串问题,需要先确定是不是只有ASCII码...
分类:其他好文   时间:2014-06-11 12:27:53    阅读次数:247
POP动画[1]
POP动画[1]pop动画是facebook扩展CoreAnimation的,使用及其方便:)1:Spring系列的弹簧效果(两个动画kPOPLayerBounds与kPOPLayerCornerRadius同时运行)#import "RootViewController.h"#import "YX...
分类:其他好文   时间:2014-06-11 12:24:30    阅读次数:514
如何使用spring中的Log4jConfigListener
使用spring中的Log4jConfigListener有如如下好处: 1. 动态的改变记录级别和策略,不需要重启Web应用,如《Effective Enterprise Java》所说。 2. 把log文件定在 /WEB-INF/logs/ 而不需要写绝对路径。因为 系统把web目录的路径压入一...
分类:编程语言   时间:2014-06-11 11:37:22    阅读次数:506
java.io.ByteArrayOutputStream 源码分析
成员变量buf是存储数据的缓冲区 count是缓冲区中的有效字节数。 /** * The buffer where data is stored. */ protected byte buf[]; /** * The number of valid byte...
分类:编程语言   时间:2014-06-11 11:03:44    阅读次数:269
数据集的使用
DataSet ds=new DataSet();//创建数据集--就是数据库,在内存中 string sql="select * from studnet"; string connStr="Data Source=.;Initial Catalo...
分类:其他好文   时间:2014-06-11 10:55:17    阅读次数:881
KendoUI系列:ComboBox
1、基本使用 1>、创建Input 效果预览: 设置初始化时选中项:var color = $("#color").data("kendoComboBox");color.select(1); // 设置初始化时选中项,索引从0开始。 获取当前选中项Value值:var color = ...
分类:其他好文   时间:2014-06-11 10:43:36    阅读次数:221
C++实现简单的单链表
下面实现的是一个简单的单链表功能不多,学习使用#pragma once#include using namespace std;class ListEx{private: struct Node { Node* next; int data; N...
分类:编程语言   时间:2014-06-11 10:06:26    阅读次数:246
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!