码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果
Intent 传递数据
Intent 传递数据intent.setClass(getApplicationContext(), DetailsActivity.class);intent.putExtra("id", (String) proList.get(position - 2).getItem("id"));int...
分类:其他好文   时间:2015-04-09 16:47:52    阅读次数:123
hdu3518---Boring counting(后缀数组,对后缀分组)
Problem Description 035 now faced a tough problem,his english teacher gives him a string,which consists with n lower case letter,he must figure out how many substrings appear at least twice,moreover,s...
分类:编程语言   时间:2015-04-09 15:34:55    阅读次数:213
关于muduo库的笔记
base 库1. base/StringPiece.hA string like object that points into another piece of memory.Useful for providing an interface that allows clients to easi...
分类:其他好文   时间:2015-04-09 15:25:33    阅读次数:144
Java 类的成员初始化顺序
做个简单笔录,就当是重温下基础知识。1.先看代码: package com.test;public class Test { public static void main(String[] args) { Son s = new Son(); } } class Pa...
分类:编程语言   时间:2015-04-09 15:22:35    阅读次数:207
LeetCode3 Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2015-04-09 15:18:13    阅读次数:115
数据库Error:The ScriptCollection in ScriptName not find
System.InvalidOperationException: The ScriptCollection in ScriptName not find在 WMI.SQL.HELPER.CONFIGURATION.SqlDrive.GetScript(String p_ScriptName)在 W...
分类:数据库   时间:2015-04-09 15:05:14    阅读次数:191
一、一切都是对象
从今天开始记录《Thinking in Java》的学习。1.java里内存那些事java里面(几乎)一切都是对象,操纵对象的标识符是对象的一个引用(reference),可以拥有一个引用,但不一定需要有一个对象与它关联,比如:String s;以上只是一个引用,不是对象,但字符串可以用带引号的文本...
分类:其他好文   时间:2015-04-09 15:02:03    阅读次数:78
DP3_最长公共子序列
1 using System; 2 namespace ConsoleApplication2 3 { 4 public class Program 5 { 6 static int[,] martix; 7 8 static string str...
分类:其他好文   时间:2015-04-09 14:59:23    阅读次数:132
数据库使用JDBC连接的方式
下面罗列了各种数据库使用JDBC连接的方式,可以作为一个手册使用。 1、Oracle8/8i/9i/10g/11g数据库(thin模式)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();String url="jdbc:o....
分类:数据库   时间:2015-04-09 14:59:20    阅读次数:194
Java移除字符串中的重复字符
基本的两种方法 1、使用正则表达式。public String removeDuplicateChars(String str) { return str.replaceAll("(?s)(.)(?=.*\\1)", ""); }2、使用遍历。public String removeDuplicateChars(String str) { String[] strs = str.s...
分类:编程语言   时间:2015-04-09 13:52:57    阅读次数:149
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!