2014年12月7日

Dsicussion on modeling an elevator zz

摘要: Dsicussion on modeling an elevatorhttp://stackoverflow.com/questions/493276/modelling-an-elevator-using-object-oriented-analysis-and-design/12457431#1... 阅读全文

posted @ 2014-12-07 01:55 majia1949 阅读(204) 评论(0) 推荐(0) 编辑

2014年12月6日

Interaction between objects

摘要: http://stackoverflow.com/questions/3744345/object-oriented-style-programming-for-interaction-between-objects?rq=1One thing I've noticed is that people... 阅读全文

posted @ 2014-12-06 16:44 majia1949 阅读(99) 评论(0) 推荐(0) 编辑

2014年12月4日

Binary Tree post order traversal

摘要: One: Using two stacks, stack to traversal the node, stackr to record the parent node when visiting its right-child; https://oj.leetcode.com/problems... 阅读全文

posted @ 2014-12-04 23:09 majia1949 阅读(98) 评论(0) 推荐(0) 编辑

Java substring

摘要: https://docs.oracle.com/javase/7/docs/api/java/lang/String.htmlsubstringpublicStringsubstring(intbeginIndex, intendIndex)Returns a new s... 阅读全文

posted @ 2014-12-04 02:24 majia1949 阅读(213) 评论(0) 推荐(0) 编辑

2014年11月28日

Java Iterable Iterator zz

摘要: http://stackoverflow.com/questions/6863182/what-is-the-difference-between-iterator-and-iterable-and-how-to-use-themIterator is an interface, which has... 阅读全文

posted @ 2014-11-28 14:25 majia1949 阅读(114) 评论(0) 推荐(0) 编辑

2014年11月16日

Java 泛型

摘要: 泛型的擦除:class Bag extends LinkedList{};private Bag[] adj;adj = (Bag[])new Bag[V]; 泛型变量的限定。泛型擦除的意思指,定义的泛型类型,jvm编译后会自动提供一个raw type,是删去泛型参数后的类型名,擦除后替换为限定的... 阅读全文

posted @ 2014-11-16 23:50 majia1949 阅读(113) 评论(0) 推荐(0) 编辑

Java String Compare zz

摘要: Compare Stringhttp://stackoverflow.com/questions/513832/how-do-i-compare-strings-in-java== tests for reference equality..equals() tests for value equa... 阅读全文

posted @ 2014-11-16 13:20 majia1949 阅读(148) 评论(0) 推荐(0) 编辑

导航