Range history

Click on the commit message for inspecting the diff and how the code has been rewritten.

Related issue on JIRA:

SIS-66: Create new Range class to avoid licensing issues

Command line:

svn log -r31996:1 https://svn.osgeo.org/geotools/trunk/modules/library/metadata/src/main/java/org/geotools/util/Range.java
Rev. Date Author Message
307602008-06-18desruisseauxUpgrated from JSR-108 to JSR-275 (GEOT-1266). Some opportunist javadoc fixes and @Override annotations in the process.
306402008-06-12acusterCopyright headers: lib/metadata, this time with feeling (and the el in Toolkit)
305192008-06-05acusterMetadata header cleanup and copyright review.
303132008-05-16desruisseauxChanged my mind about Utilities.shallowEquals(Object,Object) and renamed it as equals, since a few tests show that the compiler always select the best overloaded flavor working on primitive types (except if an argument is a boolean and the other a different primitive type). Updated a few references. Fixed a few javadoc warnings by explicit declaration of parameter and return values.
302582008-05-08acusterReshuffle the top level repo: drop uDig, move up trunk, tags, and branches.
302572008-05-08acusterMove trunk/gt/ directory contents up to trunk/ and drop gt
300192008-04-22desruisseauxGenerified NumberRange and MeasurementRange.
299882008-04-18desruisseauxImplemented contains(Range) and subtract(Range). Attempt to make the Range behavior more rigourous and less error-prone (especially regarding unbounded values) by reducing the amount of if-else constructs and trying to use more straightforward algorithms (maybe less intuitive and slightly more "mathematical"). This imply the removed of the Range(Class) constructor and the special case "(-infinity,+infinity)=empty", which was not needed and a cause of complications. One subtle issue was that "compareMinTo" and "compareMaxTo", when invoked with an exclusive value, need to consider in which direction is the inclusive value; a boolean "isIncluded" argument was not enough. Those problems was not apprent in the test suite, but became apparent after the addition of a few "assert" statements in the Range code.
299572008-04-17desruisseauxFixed svn properties.
299552008-04-17desruisseauxAdded a paranoiac check for CRS.transform(CoordinateOperation, ...) working on envelopes crossing axis extremums. Fixed a NoSuchElementException in MosaicImageReader when the requested region has no tiles. Fixed a NullPointerException in MosaicImageWriter when the allowed memory is smaller than the area of the smallest tile.
299502008-04-17jgarnettRange implementation hooked up, we can now use referencing without JAI, GEOT-746