Permalink
Browse files

Initial checkin

  • Loading branch information...
jodastephen committed Mar 4, 2014
1 parent f6a69aa commit 4f3ae3724a40b5a838e0351d380b5f27c212aa91
Showing with 5,674 additions and 7 deletions.
  1. +11 −0 .gitignore
  2. +5 −4 LICENSE → LICENSE.txt
  3. +5 −0 NOTICE.txt
  4. +40 −3 README.md
  5. +16 −0 RELEASE-NOTES.txt
  6. +526 −0 pom.xml
  7. +18 −0 src/changes/changes.xml
  8. +143 −0 src/main/checkstyle/checkstyle.xml
  9. +102 −0 src/main/java/org/joda/collect/grid/AbstractCell.java
  10. +253 −0 src/main/java/org/joda/collect/grid/AbstractGrid.java
  11. +478 −0 src/main/java/org/joda/collect/grid/DenseGrid.java
  12. +348 −0 src/main/java/org/joda/collect/grid/DenseImmutableGrid.java
  13. +107 −0 src/main/java/org/joda/collect/grid/EmptyGrid.java
  14. +358 −0 src/main/java/org/joda/collect/grid/Grid.java
  15. +125 −0 src/main/java/org/joda/collect/grid/ImmutableCell.java
  16. +221 −0 src/main/java/org/joda/collect/grid/ImmutableGrid.java
  17. +80 −0 src/main/java/org/joda/collect/grid/MutableCell.java
  18. +115 −0 src/main/java/org/joda/collect/grid/SingletonGrid.java
  19. +183 −0 src/main/java/org/joda/collect/grid/SparseGrid.java
  20. +183 −0 src/main/java/org/joda/collect/grid/SparseImmutableGrid.java
  21. +23 −0 src/main/java/org/joda/collect/grid/package-info.java
  22. +127 −0 src/site/resources/css/site.css
  23. +6 −0 src/site/resources/download.html
  24. BIN src/site/resources/images/joda.png
  25. +48 −0 src/site/site.xml
  26. +89 −0 src/site/xdoc/index.xml
  27. +31 −0 src/site/xdoc/licensecover.xml
  28. +309 −0 src/test/java/org/joda/collect/grid/AbstractTestGrid.java
  29. +85 −0 src/test/java/org/joda/collect/grid/AbstractTestImmutableGrid.java
  30. +601 −0 src/test/java/org/joda/collect/grid/AbstractTestMutableGrid.java
  31. +48 −0 src/test/java/org/joda/collect/grid/MockCell.java
  32. +77 −0 src/test/java/org/joda/collect/grid/MockSingletonGrid.java
  33. +101 −0 src/test/java/org/joda/collect/grid/TestDenseGrid.java
  34. +87 −0 src/test/java/org/joda/collect/grid/TestDenseImmutableGrid.java
  35. +102 −0 src/test/java/org/joda/collect/grid/TestEmptyGrid.java
  36. +96 −0 src/test/java/org/joda/collect/grid/TestImmutableCell.java
  37. +247 −0 src/test/java/org/joda/collect/grid/TestImmutableGrid.java
  38. +152 −0 src/test/java/org/joda/collect/grid/TestSingletonGrid.java
  39. +41 −0 src/test/java/org/joda/collect/grid/TestSparseGrid.java
  40. +87 −0 src/test/java/org/joda/collect/grid/TestSparseImmutableGrid.java
@@ -0,0 +1,11 @@
/bin/
/target/
*.log
/tests/
/test-output/
.checkstyle
.classpath
.project
/.settings/
.idea
*.iml
@@ -1,4 +1,5 @@
Apache License

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

@@ -178,15 +179,15 @@ Apache License
APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright {yyyy} {name of copyright owner}
Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -198,4 +199,4 @@ Apache License
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
@@ -0,0 +1,5 @@
Joda Collect
Copyright 2001-2014 Stephen Colebourne

This product includes software developed by
Joda.org (http://www.joda.org/).
@@ -1,4 +1,41 @@
joda-collect
============
Joda-Collect
------------

Additional collection interfaces and implementations built on top of Guava
Joda-Collect provides collections that are not present in the JDK or [Google Guava](http://code.google.com/p/guava-libraries/).

The project is related to [Joda-Primitives](http://www.joda.org/joda-primitives/) which provides primitive versions of the collection interfaces.
This project is separate, as the use cases are likely to be different.

Joda-Collect is licensed under the business-friendly [Apache 2.0 licence](http://www.joda.org/joda-collect/license.html).


### Contents

Joda-Collect contains the following collections:

* Grid - a grid data structure, providing access to its values by row and column.
This is similar to Guava's `Table`, but uses `int` for the row and column, allowing optimisations.
Mutable and immutable implementations are provided in sparse and dense variations.


### Documentation
Various documentation is available:

* The [home page](http://www.joda.org/joda-collect/)
* The [Javadoc](http://www.joda.org/joda-collect/apidocs/index.html)
* The change notes for the [releases](http://www.joda.org/joda-collect/changes-report.html)


### Releases
There are no full releases yet!
[Release 0.7](http://www.joda.org/joda-collect/download.html) is the current latest release.
The code is fully tested, but there may yet be bugs and the API may yet change.
There should be no great reason why it cannot be used in production if you can cope with future API change.

Joda-Collect runs on JDK 1.6 or later and requires [Google-Guava](http://code.google.com/p/guava-libraries/).

Available in the [Maven Central repository](http://search.maven.org/#artifactdetails|org.joda|joda-collect|0.7|jar)


### Support
Please use GitHub issues and Pull Requests for support.
@@ -0,0 +1,16 @@

Joda-Collect
================================================
Joda-Collect provides collections that are not present in the JDK or [Google Guava](http://code.google.com/p/guava-libraries/).

The release runs on JDK 6 or later.

See http://www.joda.org/joda-collect/changes-report.html for changes


Feedback
--------
Feedback is best received using GitHub issues and Pull Requests.
https://github.com/JodaOrg/joda-collect/

The Joda team
Oops, something went wrong.

0 comments on commit 4f3ae37

Please sign in to comment.