imagej/imglib — pull request #10 by hinerm (2012-11-19 20:03:42+00:00)
Title: ColorTable refactoring

The primary focus of these changes is the introduction of an ArrayColorTable interface.

As the abstract and concrete ColorTable implementations all have a generic parameter corresponding to the underlying array type, but there is no way to capture this generic type at the interface level, the ArrayColorTable interface was inserted between ColorTable and AbstractColorTable in the type hierarchy.

Using an ArrayColorTable now allows capture of the generic type without specifying a specific abstract or concrete implementation.

These commits also add section comments in AbstractColorTable, and the imglib2 header to ColorTable.