Removed a few statics that weren't used nor visible beyond the class. Added 4 exact cardinal points according to original Java-Gaming forum thread.
Hopefully replaced Bag implementation with a better one.
Now the JavaDoc uses the value tag for MAXIMUM_CAPACITY. Not sure if it can be read properly from outside.
Made size field modifications more visible. Fixed set( int index, T item) method, it was always changing the size field before and in some cases even missing objects (ie, there are 10 items, set in position 5, size would get changed to 6 in previous implementation, loosing items in the middle).
Merged in localBranch (pull request #1)

Merging localBranch of Artemis into the default one.
Organized the class a bit with formatters, finals, a warning fix, a few @SuperssWarnings("unchecked"), etc.
Tidying up the class a bit. Formatted the class comment and made all the possibly final fields/methods actually final.
Formatted it, added finals.
Fixed this bit. Damned HashMap doesn't checks for types, receives plain Object.
Tidying up a bit the class. Made final wherever possible mostly.
EntityManager uses an primitive int Bag (aka IntBag) for id management now. IntBag isn't totally tested though.
Formatted, added final whenever possible, changed a class.cast() call for a cast operator (T) adding @SupressWarnings("unchecked") in the method.
Tidying up the class a bit.
Formatted the class a bit, added final whenever possible. Also removed fields that weren't used beyond the constructor and a few class.cast() calls that were removed.
Removed "unchecked warning" in methods, instead hold a Bag<T> in the class and do a single unchecked cast to Bag<T> in the constructor.
Formatted and put 'final' whenever possible.
Formatted the class a bit.
Changed minimum capacity for the bag. Now its 8.
Renamed 'array' for 'data'. Added a removeAll() implementation for concrete Bag that should be faster than for ImmutableBag.
Now it uses AtomicInteger for the unique entity IDs instead of random UUID instances.