码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
three.js 源码注释(四十七)Material /LineDashedMaterial.js
LineDashedMaterial方法根据参数parameters创建线段的虚线线型材质,parameters参数的格式看上面.LineDashedMaterial对象的功能函数采用 定义构造的函数原型对象来实现.大部分属性方法继承自材质的基类Material.用材质来定义线性,第一次见,真的很有想象力.简直就是对绘图软件的终结. LineDashedMaterial string类型...
分类:Web程序   时间:2014-12-25 11:22:52    阅读次数:271
依照以下条件写出合适的XML Schema.
依照以下条件写出合适的XML Schema.  (1)父元素为Motorcycle.  (2)元素有一个属性名称为motorid,类型为正整数,且一定要输入.  (3)一个Brand子元素,类型为字符串,记录摩托车品牌.  (4)一个Date子元素,类型为日期,记录购买日期.  (5)一个Owner子元素,类型为字符串,记录摩托车所有人姓名. Reg: motorcycle.xml...
分类:其他好文   时间:2014-12-25 11:18:09    阅读次数:188
计算string高度
一、CTFramesetterSuggestFrameSizeWithConstraints计算文本显示所占区域修正方法UIFont *uiFont = [UIFont fontWithName:@"Helvetica" size:17.0];CTFontRef ctFont = CTFontCre...
分类:其他好文   时间:2014-12-25 11:13:12    阅读次数:211
Java的值传递和引用传递
先不多说,看两个题。 第一题,如下代码执行结果: package com.zhyea.test; public class Test { public static void main(String[] args) { String str = "123"; changeString(str); S...
分类:编程语言   时间:2014-12-25 09:56:49    阅读次数:238
[leetcode] Simplify Path
题目:(Stack, String)Given an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/", =>"/c"click ...
分类:其他好文   时间:2014-12-25 06:35:23    阅读次数:155
[leetcode] Regular Expression Matching
题目:(DP ,BackTracking, String)Implement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more...
分类:其他好文   时间:2014-12-25 06:34:21    阅读次数:169
[leetcode] Longest Palindromic Substring
题目:(String)Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique...
分类:其他好文   时间:2014-12-25 06:34:06    阅读次数:198
LintCode-Hash Function
In data structure Hash, hash function is used to convert a string(or any other type) into an integer smaller than hash size and bigger or equal to zer...
分类:其他好文   时间:2014-12-25 06:33:10    阅读次数:376
maven打包hadoop项目(含第三方jar)
maven打包hadoop项目(含第三方jar)   问题背景: 1 写map-reduce程序,用到第三方jar,怎么打包并提交项目到服务器执行。 2 mahout中itembased算法,将uid从string映射为long。   我这里实现的具体功能是: Mahout的itembased算法的数据格式是:uid,vid,score。其中uid和vid必须是数字型(long),s...
分类:编程语言   时间:2014-12-25 01:29:52    阅读次数:305
string与CString对比
string是标准C++库中的字符串类,CString是在Windows开发环境下常用的字符串类,CString目前已从MFC中分离出来可以单独使用,只需包含atlstr.h即可。相比string,CString提供较多的方便使用的方法,如大小写转换、不区分大小比较字符串等方法。而string并没有...
分类:其他好文   时间:2014-12-25 01:24:34    阅读次数:172
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!