Forum: Java Oct 21st, 2009 |
| Replies: 4 Views: 424 Hi guys,
I am wondering how can I create a sorted linked list, without using Collection.sort(). Is there a way I can add element in a list in a sorted fashion? |
Forum: Java Oct 10th, 2009 |
| Replies: 7 Views: 259 yeah i did that, but instead of doing that, i wanna have iterator as its own class and pass the list as a reference to iterate through. |
Forum: Java Oct 10th, 2009 |
| Replies: 7 Views: 259 thanks, I have used listIterator before. What I am wondering is how would I implement it myself from scratch rather than one in java.util as an external class instead of having an inner iterator in... |
Forum: Java Oct 10th, 2009 |
| Replies: 7 Views: 259 how can u implement ext iterator? |
Forum: Java Oct 7th, 2009 |
| Replies: 7 Views: 259 Hey guys,
what are advantages of external and internal iterators? I understand that internal allows you to add and remove nodes as it has implicit reference to data in the outer class? So, why would... |
Forum: Java Feb 12th, 2009 |
| Replies: 1 Views: 199 So, I am writing a program which reads inputs from a text file. The prgoram plants a plant at (x,y) location which is read from a file as PLANT 3,4 for example. It also puts the plant in flames from... |
Forum: Java Feb 10th, 2009 |
| Replies: 1 Views: 293 Hi Guys,
I am newbie to Java, I have take C++ at college. I want to create a 2 dimensional grid like on a graph paper with x-y axis. # of rows and columns will be specified by the user.
Need some... |