PIVOT-1045: Start refactoring the read-only collections to use a common base class:
* Implement ReadOnlySequence which just throws the exception for the applicable methods.
* Redo ArrayAdapter, EnumList, ImmutableList, and NumericSpinnerData as the first fruits.
* Misc. changes to ArrayList to spiff it up, including removing the now redundant "addAll"
  method, adding a constructor with capacity and comparator and redoing binarySearch to
  use the default comparator from Arrays.binarySearch. Add a test of that to ArrayListTest.
* Correct some small style errors as well (mostly Javadoc and final parameters).


git-svn-id: https://svn.apache.org/repos/asf/pivot/trunk@1864990 13f79535-47bb-0310-9956-ffa450edef68
7 files changed