Hello Members, I would like to find out if anyone is nice enough to help me remove the ArrayList class from this code completely and replace it with something else that is not either of the following:
Sure, there are plenty of people here that are willing to help you. However, most of the regulars here are not willing to do it for you. With that said, it looks like your list pretty much rules out the whole built-in Collections Framework. So why can't you use the standard Collections? And what ARE you allowed to use? If this is for a class, then I suspect you are supposed to write your own basic implementation of some data structure. We will be able to help you more if you give us some details about what you are trying to do and what restrictions are given on the homework assignment.
You are expected to implement the data structures from scratch. Specifically you are not allowed to use the following classes from the java.util package :
You should learn about simple data structures like a linked list. I'm guessing that's the aim of the course so most likely no one is going to implement it for you.
To clear things up when I mentioned using a linked list, I did not mean java.util.LinkedList class. I mean you should read up what a linked list is and write the linked list class yourself. They aren't too complicated. Just google for "linked list" and you will find many tutorials on how to create one. Good luck.
Post by:autobot
Please enjoy this holographic presentation of our apocalyptic dilemma right after this tiny ad:
a bit of art, as a gift, that will fit in a stocking