2013年12月20日

Iterator

摘要: java.utilInterface IteratorType Parameters:E- the type of elements returned by this iteratorbooleanhasNext()Returnstrueif the iteration has more elements.Enext()Returns the next element in the iteration.voidremove()Removes from the underlying collection the last element returned by this iterator (op 阅读全文

posted @ 2013-12-20 04:55 Step-BY-Step 阅读(398) 评论(0) 推荐(0) 编辑

recursion lead to out of memory

摘要: There are two storage areas involved: thestackand the heap. The stack is where the currentstateof a method call is kept (ie local variables and references), and the heap is where objects are stored.The Hotspot documentationsays that on Linux 64-bit each thread has a stack of 1024kB by default. The h 阅读全文

posted @ 2013-12-20 01:30 Step-BY-Step 阅读(151) 评论(0) 推荐(0) 编辑

导航