Java: everything in a class is static - is this reasonable?
<p>I 'm just wondering if what I'm doing is somehow poor design.</p>

<p>I have a ArrayList of things. I need this list to always exist. I only need to have one of these lists. I also have some methods to interact with this list. Thusly, I made everything static.</p>

<p>The thing is that since all of these things are tucked away into a single class, literally everything in that class is declared as static. Which seems a bit odd, because it's like I want to have the entire class be static.</p>

<p>The facts that Java doesn't allow me to make an entire class static and that I was taught to minimize static methods in my code are setting off a few alarm bells in my head, but I honestly can't see any rational reason why what I'm doing won't work well.</p>

<p>EDIT: A bit more about the program and why I decided to do what I did, because I guess that would help (and it was asked, of course).</p>

<p>The center of the program are two databases, one for items and another for characters.
Characters need to have temporary posession of items, but all items must be able to be listed at all times.</p>

<p>I decided I would have an arraylist of items, each item having a boolean marking it available or not available (making it easy to display both all items and available items). Each character would have their own, smaller arraylist of items, to which I would add duplicates of the item from the database.</p>

<p>To be able to access the database from other classes (this is where I started with the idea), I considered my easiest option to simply make the large arraylist static because there is no situation where I need it to not exist and there is no situation where I need more than one. Of course, as I made the list static, I needed to make all of the basic methods of interacting with it static as well.</p>

<p>I'm pretty sure there are better ways of doing what I'm trying to do, but I'm just a beginner practising.</p>

<p>EDIT2: Oh, and the list of items will be added to, removed from, and it's items modified while the program runs. Another effect of the characters receiving copies of items is that their own items will remain the same as long as they have them.</p>
