一、分类基本数据类型:undefined、null、string、Boolean、number复杂数据类型:objectobject的属性以无序的名称和值对的形式 (name : value) 来定义二、详解1、undefined:undefined类型只有一个值:undefined,在使用var对...
分类:
Web程序 时间:
2015-01-18 22:19:53
阅读次数:
244
class Res {
String name;
String sex;
}
class Input implements Runnable {
private Res r;
public Input(Res r) {
// TODO Auto-generated constructor stub
this.r = r;
}
public void run() {
i...
分类:
编程语言 时间:
2015-01-18 21:09:50
阅读次数:
265
Periodic StringsTime Limit: 3000MSMemory Limit: Unknown64bit IO Format: %lld & %llu Submit Status DescriptionPeriodic StringsA character string is sai...
分类:
其他好文 时间:
2015-01-18 21:07:21
阅读次数:
199
Fraction to Recurring DecimalGiven two integers representing the numerator and denominator of a fraction, return the fraction in string format.If the ...
分类:
其他好文 时间:
2015-01-18 20:58:51
阅读次数:
184
问题描述:
Given a string s, partition s such that every substring of the partition is a palindrome.
Return all possible palindrome partitioning of s.
For example, given s = "aab",
Return
[...
分类:
其他好文 时间:
2015-01-18 18:36:06
阅读次数:
158
本来想写一篇关于golang io的笔记,但是在学习io之前必须了解array, slice, string概念,因此将在下篇写golang io.array:数组的长度是该数组类型的一部分,例如var buffer [256]byte 的类型是[256]byte, len(buffer)总是返回2...
分类:
其他好文 时间:
2015-01-18 18:25:17
阅读次数:
241
public String ConvertDBMLToSqlScript(System.Data.Linq.DataContext DBContext) { String DBContextNamespace = DBContext.GetType().Namespace; StringBuilde...
分类:
数据库 时间:
2015-01-18 18:24:25
阅读次数:
197
我们都知道可以用下标运算来访问string对象和vector对象。而另外还有一种更通用的方法也可以实现这样的方法。名曰:迭代器(iterator)。
类似于指针,迭代器也提供了对对象的间接访问。就迭代器而言,其对象是容器中的元素或者string中的字符。使用迭代器可以访问某个元素,迭代器也能从一个元素移动到另外一个元素。迭代器有有效和无效之分,有效的迭代器指向某个元素或者容器中尾元素的下一个位置...
分类:
编程语言 时间:
2015-01-18 17:13:38
阅读次数:
192
void OnClick()
{
//StartCoroutine(LoadLevel());
StartCoroutine(LoadFrompersister());
}
IEnumerator LoadLevel()
{
string url = "file://" + Application.dataPath + "/2.Android.unity3d";
Debug.Log(url);
...
分类:
编程语言 时间:
2015-01-18 17:13:18
阅读次数:
313
鉴于最近在面试,需要复习一下算法什么的,就把之前写的一些算法程序发出来。
public class Test {
public static char[] text = { 'a', 'c', 'c', 'd' };
public static void main(String[] args) {
permutation(text, 0, text.length);
System....
分类:
编程语言 时间:
2015-01-18 17:12:55
阅读次数:
144