JOB Object Array Holder

A helper class wrapping an object array. This class implements interface Comparable . Method JobObjectArrayHolder.compareTo(Object) calls Comparable#compareTo(Object) on all corresponding elements in the wrapped arrays. If an element does not implement Comparable then a ClassCastException is thrown.

The implementation of equals(Object) returns true if JobObjectArrayHolder.compareTo(Object) returns 0 .

Instances of this class may be used as keys in instances of JobSortedMap . This is useful in cases where you want to put object arrays in JOB sorted maps.

Note: All elements in the wrapped object array must implement Comparable .