首页 > 编程语言
java线程例子登山
Through its implementation, this project will familiarize you with the creation and execution of threads, and with the use of the Thread class methods...
分类:编程语言   时间:2014-07-28 14:44:03    收藏:0  评论:0  赞:0  阅读:540
Minimum Window Substring leetcode java
题目:Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For example,S = "ADOBE....
分类:编程语言   时间:2014-07-28 14:42:23    收藏:0  评论:0  赞:0  阅读:519
使用prototype扩展的JavaScript常用函数库
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 /** * 检索数组元素(原型扩展或重载) * @param {o} 被检索的元素值 * ...
分类:编程语言   时间:2014-07-28 14:41:43    收藏:0  评论:0  赞:0  阅读:365
多线程下载 断点续传
package wml.dl;import java.io.BufferedInputStream;import java.io.FileNotFoundException;import java.io.IOException;import java.io.InputStream;import ja...
分类:编程语言   时间:2014-07-28 14:41:23    收藏:0  评论:0  赞:0  阅读:357
Substring with Concatenation of All Words leetcode java
题目:You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a conca....
分类:编程语言   时间:2014-07-28 14:39:03    收藏:0  评论:0  赞:0  阅读:444
java中泛型上限,下限应用
import java.util.*;class Person implements Comparable{ String name; int age; Person(){ name = ""; age = 0; } Person(String name, in...
分类:编程语言   时间:2014-07-28 14:38:03    收藏:0  评论:0  赞:0  阅读:429
Java知识点归总一之堆栈
Java栈与堆 (一天一个知识点2014-07-28)----对这两个概念的不明好久,终于找到一篇好文,拿来共享 1. 栈(stack)与堆(heap)都是Java用来在Ram中存放数据的地方。与C++不同,Java自动管理栈和堆,程序员不能直接地设置栈或堆。 2. 栈的优势是,存取速度比堆要快,仅...
分类:编程语言   时间:2014-07-28 14:37:53    收藏:0  评论:0  赞:0  阅读:356
java中对象多态时成员变量,普通成员函数及静态成员函数的调用情况
/*样例1: class Parent{ int num = 3; } class Child extends Parent{ int num = 4; }*//*样例2:class Parent{}class Child extends Parent{ int num...
分类:编程语言   时间:2014-07-28 14:36:43    收藏:0  评论:0  赞:0  阅读:325
C语言再学习之 setjmp与longjmp
前不久在阅读Quake3源代码的时候,看到一个陌生的函数:setjmp,一番google和查询后,觉得有必要针对setjmp和longjmp这对函数写一篇blog,总结一下。setjmp和longjmp是C语言独有的,只有将它们结合起来使用,才能达到程序控制流有效转移的目的,按照程序员的预先设计的意...
分类:编程语言   时间:2014-07-28 14:36:23    收藏:0  评论:0  赞:0  阅读:387
黑马程序员_Java网络编程
1,IP地址和InetAddress IP地址是互联网上每台计算机都有的自己的标记,IP地址分为5类,A类保留给政府,B类给中等规模的公司,C类给任何需要的人,D类用于组播,E类用于实验. A类 1.0.0.1-126.255.255.254 B类 128.0.0.1-191.255.255.254...
分类:编程语言   时间:2014-07-28 14:28:13    收藏:0  评论:0  赞:0  阅读:386
Java编程思想笔记(第二章)
第二章 一切都是对象尽管Java是基于C++的,但相比之下,Java是一种更纯粹的面向对象程序设计语言.c++和Java都是杂合型语言(hybird language)用引用(reference)操作对象类似遥控器(引用)来操作电视(对象)在Java中你可以创建一个引用,但是没有与任何对象关联,比如...
分类:编程语言   时间:2014-07-28 14:26:13    收藏:0  评论:0  赞:0  阅读:374
SpringMVC基本配置
text/html;charset=UTF-8 ...
分类:编程语言   时间:2014-07-28 13:50:30    收藏:0  评论:0  赞:0  阅读:291
C++ String类字符串操作
string类的构造函数:string(const char *s); //用c字符串s初始化string(int n,char c); //用n个字符c初始化此外,string类还支持默认构造函数和复制构造函数,如string s1;string s2="hello";都是正确的写法。当构造的st...
分类:编程语言   时间:2014-07-28 13:49:30    收藏:0  评论:0  赞:0  阅读:356
一份Java学习路线图
Java学习路线图本文会持续更新,敬请关注。下划线的文字会在这个博客继续更新。回顾自己的Java学习经历,从学校的课堂到现在每天的项目开发,一份路线路线图浮出来。其中有未做好的地方,也有自我感觉有用的方法。整理并分享出来,既是分享也是抛砖引玉,欢迎大家转载和讨论。0.起步一本书或一个教程,一个开发工...
分类:编程语言   时间:2014-07-28 13:48:20    收藏:0  评论:0  赞:0  阅读:476
c++ string的size()函数和length()函数
C++标准库中的string中两者的源代码如下: size_type __CLR_OR_THIS_CALL length() const { // return length of sequence return (_Mysize); } size_type __...
分类:编程语言   时间:2014-07-28 13:45:40    收藏:0  评论:0  赞:0  阅读:356
C语言之预处理命令
分类:编程语言   时间:2014-07-28 13:42:30    收藏:0  评论:0  赞:0  阅读:441
python with原理
在python2.5+中可以用with来保证关闭打开的文件with open('hello.txt') as f: do some file operations为什么要引入with呢?在之前如果要保证关闭文件需要这样:f = open('hello.txt')try: do some fi...
分类:编程语言   时间:2014-07-28 11:36:00    收藏:0  评论:0  赞:0  阅读:366
Merge Interval leetcode java
题目:Given a collection of intervals, merge all overlapping intervals.For example,Given [1,3],[2,6],[8,10],[15,18],return [1,6],[8,10],[15,18].题解:这道题主要....
分类:编程语言   时间:2014-07-28 11:35:20    收藏:0  评论:0  赞:0  阅读:313
Insert Interval leetcode java
题目:Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were ini....
分类:编程语言   时间:2014-07-28 11:35:10    收藏:0  评论:0  赞:0  阅读:454
Length of Last Word leetocde java
题目:Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last w....
分类:编程语言   时间:2014-07-28 11:35:00    收藏:0  评论:0  赞:0  阅读:312
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!