码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果
uuid
public static String readDeviceUUID() { Object localObject1 = getValidDeviceUUIDByInstant(); if (localObject1 != null) { if (Log.D) ...
分类:其他好文   时间:2015-04-11 13:04:28    阅读次数:100
特性的运用
1给一个方法添加过时的信息的时候 可以 [Obsolete("方法以及过时,请使用更好的算法EatNice()")] public string Eat() { return "吧唧吧唧的吃"; }编译一下就可以,下次...
分类:其他好文   时间:2015-04-11 13:03:14    阅读次数:94
Word Break--LeetCode
题目: Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words. For example, given s = "leetcode", dict...
分类:其他好文   时间:2015-04-11 11:48:32    阅读次数:143
word break II--LeetCode
public ArrayList wordBreak(String s, Set dict) { ArrayList res = new ArrayList(); if(s==null || s.length()==0) return res; helper(s,dict,0,"",res); ...
分类:其他好文   时间:2015-04-11 11:47:27    阅读次数:129
Python中的列表,元组,字符串之间的相互转化
Python中的列表元组和字符串之间的相互转化需要利用,tuple(),list(),str().示例如下:>>> the_string = "hello I'am xiaoli!">>> #字符串转化为元组>>> the_tuple = tuple(the_string)>>> the_tup.....
分类:编程语言   时间:2015-04-11 11:38:01    阅读次数:127
SpringMVC + Spring + MyBatis 学习笔记:遭遇order by 排序问题
系统:WIN8.1数据库:Oracle 11GR2开发工具:MyEclipse 8.6框架:Spring3.2.9、SpringMVC3.2.9、MyBatis3.2.8用MyBatis写排序的时候字段很多,于是想当然的就把需要排序的字段用String类型扔到了配置文件里面。但是却没有起到效果。后来...
分类:编程语言   时间:2015-04-11 11:27:34    阅读次数:311
jsp的 内置对象
1.request对象      客户端的请求信息被封装在request对象中,通过它才能了解到客户的需求,然后做出响应。它是HttpServletRequest类的实例。    object getAttribute(String name) 返回指定属性的属性值    Enumeration getAttributeNames() 返回所有可用属性名的枚举    String...
分类:Web程序   时间:2015-04-11 10:25:54    阅读次数:117
2015-04-11一些知识点
1、一个小程序,关于Java值传递和引用传递的:package com.lk.B;public class Test1 { public static void main(String[] args) { // TODO Auto-generated method stub ...
分类:其他好文   时间:2015-04-11 10:12:51    阅读次数:197
[译]JavaScript规范-葵花宝典
原文:[译]JavaScript规范-葵花宝典【译】JavaScript规范 译自:https://github.com/airbnb/javascript 类型 原始值: 相当于传值 string number boolean null undefined var foo = 1, bar = f...
分类:编程语言   时间:2015-04-11 10:09:58    阅读次数:220
Java 递归实现汉诺塔问题
汉诺塔问题就是:有ABC三根柱子,A柱子上从上到下摞了很多体积依次递增的圆盘,如果将圆盘从A移动到C柱子,且依然保持从上到下依次递增。 class Hanio{ public void moveOne(int n, String init, String desti){ //只有一个盘子的情况 System.out.println(" move:"+n+" from "+init+"...
分类:编程语言   时间:2015-04-11 09:01:19    阅读次数:135
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!