码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
golang string类型底层实现
structstring{ byte*str; intgolen; }
分类:其他好文   时间:2015-03-16 06:25:38    阅读次数:179
LeetCode --- 65. Valid Number
题目链接:Valid Number Validate if a given string is numeric. Some examples: "0" => true " 0.1 " => true "abc" => false "1 a" => false "2e10" => true Note: It is intended for the problem stat...
分类:其他好文   时间:2015-03-15 23:42:43    阅读次数:286
从DELPHI到JAVA[delphi]
1字符串处理DELPHIvar s :string;s := s + 'a string';JAVA习惯用法String s = new String();s += 'a string';由于String对象不可修改,导致对String对象赋值会有一个StringBuffer对象产生并销毁,一个新的...
分类:编程语言   时间:2015-03-15 23:38:32    阅读次数:210
love
写给我的小小#include#include#include#include#include#include#includeusing namespace std;void heart();void color(double );string str1="不",str2="很",str3="快",s...
分类:其他好文   时间:2015-03-15 23:37:32    阅读次数:149
C# this关键字详解
this关键字主要有一下几个用途:1,this 用来引用当前类的实例,和扩展方法的第一个参数的修饰符}2,限定被相似的名称隐藏的成员,例如:public Employee(string name, string alias){ // Use this to qualify the fields...
分类:Windows程序   时间:2015-03-15 22:55:56    阅读次数:163
Hibernate配置对象关联关系
//实体类public class Tbs implements java.io.Serializable {// Fields private Integer id; private Zbs zbs; private String tbqy; private String content; pri...
分类:Web程序   时间:2015-03-15 22:51:42    阅读次数:130
C#第一次的Hello World
这个Hello World是最基础的,在程序默认生成的using System下,不用自己可以的去写using System。我们要牢记compling and running和running without debugging的快捷键。这是我用项目属性中的命令行参数对String数组args[]进...
分类:Windows程序   时间:2015-03-15 22:49:52    阅读次数:166
String 两种实例化方式的区别
package com.java1234.chap03.sec08;public class Demo3 { public static void main(String[] args) { //1,直接赋值方式,创建的对象存放到字符串对象池里,假如存在的,就不会再创建; ...
分类:其他好文   时间:2015-03-15 22:44:08    阅读次数:113
1,普通代码块 2,构造块 3,静态代码块
1,普通代码块package com.java1234.chap03.sec07;public class Demo1 { public static void main(String[] args){ int a=1; /**普通代码块(顺序执行)...
分类:其他好文   时间:2015-03-15 22:42:43    阅读次数:113
“==”,比较的是引用 “equals方法”比较的是具体内容
package com.java1234.chap03.sec08;public class Demo2 { public static void main(String[] args) { //“==”,比较的是引用 “equals方法”比较的是具体内容 S...
分类:其他好文   时间:2015-03-15 22:31:03    阅读次数:112
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!