码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
CSS之旅——第二站 如何更深入的理解各种选择器
上篇我们说了为什么要使用css,这篇我们就从选择器说起,大家都知道浏览器会把远端过来的html解析成dom模型,有了dom模型,html就变成了xml格式,否则的话就是一堆“杂乱无章”的string,这样的话没人知道是什么鸟东西,js也无法什么各种getElementById,所以当浏览器解析成.....
分类:Web程序   时间:2015-05-03 14:36:31    阅读次数:128
JavaI/O系统2
数据流:DataInputStream,DataOutputStream。可以用于与计算机无关的格式读写java的基本数据类型以及String对象对象流:ObjectInputStream,ObjectOutputStream.序列化:保存内存中对象的“全景图”。为了实现对象序列化,对应的类必须实现...
分类:编程语言   时间:2015-05-03 14:36:09    阅读次数:146
HDU-1004-Let the Balloon Rise(直接new一个字符串数组compareTo!)
Let the Balloon Rise Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 85666    Accepted Submission(s): 32330 Problem Description Con...
分类:编程语言   时间:2015-05-03 13:25:20    阅读次数:165
Dropdownlist控件的事件处理
protected void bindhbdata(string chatid){ string sql = "select * from staff where wechatid='"+ chatid +"'"; SqlDataReader dr = SqlHelper.ExecuteReader...
分类:其他好文   时间:2015-05-03 13:15:07    阅读次数:141
Longest Substring Without Repeating Characters
https://leetcode.com/problems/longest-substring-without-repeating-characters/Given a string, find the length of the longest substring without repeatin...
分类:其他好文   时间:2015-05-03 13:14:25    阅读次数:121
Interleaving String -- leetcode
Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example, Given: s1 = "aabcc", s2 = "dbbca", When s3 = "aadbbcbcac", return true. When s3 = "aadbbbaccc", ret...
分类:其他好文   时间:2015-05-03 12:06:25    阅读次数:179
java 简单排序
public class SortDemo { public static void main(String[] args) { int[] arr = { 12, 3, 4, 56, 688, 9 }; bubbleSort(arr); selectSort(arr); print(arr); } // 选择 public static void selectSort...
分类:编程语言   时间:2015-05-03 12:06:00    阅读次数:144
java 二分查找法
public class QueryDemo { public static void main(String[] args) { int[] arr2 = new int[] { 11, 3,32,34, 45, 56, 78 }; System.out.println("67在数组中的位置:" + halfSearch(arr2, 11)); } public static ...
分类:编程语言   时间:2015-05-03 12:04:10    阅读次数:149
烂笔头——JAVA.String
人们说 Sting+ 的效率很低String+的编译步骤是: new StringBuilder() new String.valueof() StringBuilder. StringBuilder.append() StringBuilder.toString() 而StringBuilder的...
分类:编程语言   时间:2015-05-03 10:27:22    阅读次数:114
android中按back键返回上一个activity,如何重新调用上一个activity的oncreate方法?
默认情况下是不会调用的。 @Override public void onBackPressed() { String titleStr = edittitle.getText().toString(); String contentStr = editcontent.getText().toString(); if (title.equa...
分类:移动开发   时间:2015-05-03 01:59:40    阅读次数:275
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!