WARNING 2: This is not a general purpose List implementation! It has a specific use and will not work correctly if you use it outside of its use.
A specialized ArrayList that caches its hashCode as well as overriding equals to avoid creating an Iterator. This class is useful in scenarios where the list won't change and you want to avoid the overhead of hashCode iterating through the elements invoking hashCode. This also assumes you'll only ever compare a BakedArrayList to another BakedArrayList. @author Scott Violet
|
|