现在的位置: 首页 > 综合 > 正文

Java101系列文章

2018年05月10日 ⁄ 综合 ⁄ 共 2333字 ⁄ 字号 评论关闭

Java101 的意思是Java入门课程,因为美国很多入门课程就叫101.比如著名的 CS101,计算机科学入门

原网站相关的链接地址如下:

分类列表: http://www.javaworld.com/blog/java-101/

使用如下的JS在控制台提取数据:

var c = $(".post-cont");
var h = c.find("h3");
var a = h.find("a");
//
var nodes = [];
!a.each(function(i, v){
	//
	var text = v.text;
	var href = aa.href;
	//
	var node ={
		text: text
		,
		href : href
		,
		toString : function(){ // 注意这里有BUG,引用的是闭包中的对象,而不是 node对象的属性
		 return "<a href='"+ href + "'>" + text + "</a>" ; // 可以加上 this 引用

	}};
	nodes.push(node);
});
//
console.info(nodes.join("\n<br/>"));

得到相关的文章如下:

Java 101: The next generation: The essential Java language features tour, Part 4
Java 101: The next generation: The essential Java language features tour, Part 3
Java 101: The next generation: The essential Java language features tour, Part 2
Java 101: The next generation: The essential Java language features tour, Part 1
Java 101: The next generation: Java concurrency without the pain, Part 2
Java 101: The next generation: Java concurrency without the pain, Part 1
Java 101: The next generation: It's time for a change
Java 101: Datastructures and algorithms, Part 2
Java 101: Datastructures and algorithms, Part 1
Regular expressions simplify pattern-matching code
Tools of the trade, Part 3
Tools of the trade, Part 2
Tools of the trade, Part 1
Java's character and assorted string classes support text-processing
Packages organize classes and interfaces
Java 101: Understanding Java threads, Part 4: Thread groups, volatility, and thread-local variables
Java 101: Understanding Java threads, Part 3: Thread scheduling and wait/notify
Java 101: Understanding Java threads, Part 2: Thread synchronization
Java 101: Understanding Java threads, Part 1: Introducing threads and runnables
Exceptions to the programming rules, Part 2
Exceptions to the programming rules, Part 1
Classes within classes
Trash talk, Part 2
Java 101: Class and object initialization
Java 101: Object-oriented language basics, Part 7: Polymorphism and abstract classes
Java 101: Object-oriented language basics, Part 6: Interfaces and multiple inheritance
Java 101: Object-oriented language basics, Part 5: Object and its methods
Non-object-oriented language basics, Part 3
Non-object-oriented language basics, Part 2
Java 101: Object-oriented language basics, Part 4: Inheritance
Java 101: Object-oriented language basics, Part 3: Composition
Java 101: Object-oriented language basics, Part 2: Fields and methods
Java 101: Object-oriented language basics, Part 1: Classes and objects
Java 101: The ins and outs of standard input/output
Non-object-oriented language basics, Part 1
Applications, applets, and hybrids
Class action
Learn how to store data in objects

Learn Java from the ground up

希望在后面慢慢将这个系列的文章翻译完.

抱歉!评论已关闭.