3.6. Xyster_Collection Static Methods

There are a few useful static methods available on the Xyster_Collection class. The first is the using method, which creates a Xyster_Collection and fills it with the elements of an array.

The other methods are fixedInterface, with Interface being one of Collection, List, Map, or Set. A fixed collection is one that cannot be modified. This is useful when passing around a collection that needs to maintain its state.