mbedward / jaitools

Raster image processing for Java developers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RangeLookupTable improvements: binary search and simpler API

mbedward opened this issue · comments

Add a comparator for LookupItems and have RangeLookupTable order its items by source value range upon construction. Then use binary search when matching source values to items.

Remove default value from the table and just provide a single query method that returns a LookupItem.

Improvements included in version 1.3.1