├── .gitignore ├── .history ├── .jvmopts ├── .travis.yml ├── LICENSE ├── README-old.md ├── README.md ├── doc ├── repl-input └── repl-output.txt ├── jvm └── src │ └── test │ └── scala │ ├── CSVSpectrum.scala │ └── PerformanceTest.scala ├── notes ├── 1.3.0.markdown ├── 1.4.0.markdown ├── 1.4.2.markdown └── about.markdown ├── project ├── build.properties └── plugins.sbt ├── res ├── csvs │ ├── comma_in_quotes.csv │ ├── empty.csv │ ├── empty_cr.csv │ ├── empty_crlf.csv │ ├── escaped_quotes.csv │ ├── json.csv │ ├── newlines.csv │ ├── newlines_cr.csv │ ├── newlines_crlf.csv │ ├── quotes_and_newlines.csv │ ├── simple.csv │ ├── simple_cr.csv │ ├── simple_crlf.csv │ └── utf8.csv └── json │ ├── comma_in_quotes.json │ ├── empty.json │ ├── empty_crlf.json │ ├── escaped_quotes.json │ ├── json.json │ ├── newlines.json │ ├── newlines_crlf.json │ ├── quotes_and_newlines.json │ ├── simple.json │ ├── simple_crlf.json │ └── utf8.json ├── sample.csv └── shared ├── shared-sources.iml └── src ├── main ├── boilerplate │ └── collections │ │ ├── immutable │ │ └── CollSeq1-22.scala.template │ │ ├── io │ │ └── CsvParser.scala.template │ │ └── package.scala.template └── scala │ └── collections │ ├── immutable │ └── package.scala │ ├── io │ ├── CSVReader.scala │ ├── GeneralConverter.scala │ ├── InputBuffer.scala │ ├── Utils.scala │ └── package.scala │ └── util │ ├── Stats.scala │ ├── WeightedStats.scala │ └── package.scala └── test └── scala ├── BufferTest.scala ├── CollSeqSpec.scala ├── ConverterTest.scala ├── CsvSpec.scala ├── IOSpec.scala ├── ImplicitSpec.scala ├── MemTest.scala ├── StatsSpec.scala └── WeightedStatsSpec.scala /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/.gitignore -------------------------------------------------------------------------------- /.history: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/.history -------------------------------------------------------------------------------- /.jvmopts: -------------------------------------------------------------------------------- 1 | -XX:MaxPermSize=1024m 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/LICENSE -------------------------------------------------------------------------------- /README-old.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/README-old.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/README.md -------------------------------------------------------------------------------- /doc/repl-input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/doc/repl-input -------------------------------------------------------------------------------- /doc/repl-output.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/doc/repl-output.txt -------------------------------------------------------------------------------- /jvm/src/test/scala/CSVSpectrum.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/jvm/src/test/scala/CSVSpectrum.scala -------------------------------------------------------------------------------- /jvm/src/test/scala/PerformanceTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/jvm/src/test/scala/PerformanceTest.scala -------------------------------------------------------------------------------- /notes/1.3.0.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/notes/1.3.0.markdown -------------------------------------------------------------------------------- /notes/1.4.0.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/notes/1.4.0.markdown -------------------------------------------------------------------------------- /notes/1.4.2.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/notes/1.4.2.markdown -------------------------------------------------------------------------------- /notes/about.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/notes/about.markdown -------------------------------------------------------------------------------- /project/build.properties: -------------------------------------------------------------------------------- 1 | sbt.version=1.2.8 2 | -------------------------------------------------------------------------------- /project/plugins.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/project/plugins.sbt -------------------------------------------------------------------------------- /res/csvs/comma_in_quotes.csv: -------------------------------------------------------------------------------- 1 | first,last,address,city,zip 2 | John,Doe,120 any st.,"Anytown, WW",08123 -------------------------------------------------------------------------------- /res/csvs/empty.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,"","" 3 | 2,3,4 -------------------------------------------------------------------------------- /res/csvs/empty_cr.csv: -------------------------------------------------------------------------------- 1 | a,b,c 1,"","" 2,3,4 -------------------------------------------------------------------------------- /res/csvs/empty_crlf.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,"","" 3 | 2,3,4 -------------------------------------------------------------------------------- /res/csvs/escaped_quotes.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/res/csvs/escaped_quotes.csv -------------------------------------------------------------------------------- /res/csvs/json.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/res/csvs/json.csv -------------------------------------------------------------------------------- /res/csvs/newlines.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | "Once upon 4 | a time",5,6 5 | 7,8,9 6 | -------------------------------------------------------------------------------- /res/csvs/newlines_cr.csv: -------------------------------------------------------------------------------- 1 | a,b,c 1,2,3 "Once upon a time",5,6 7,8,9 2 | -------------------------------------------------------------------------------- /res/csvs/newlines_crlf.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | "Once upon 4 | a time",5,6 5 | 7,8,9 6 | -------------------------------------------------------------------------------- /res/csvs/quotes_and_newlines.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/res/csvs/quotes_and_newlines.csv -------------------------------------------------------------------------------- /res/csvs/simple.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | -------------------------------------------------------------------------------- /res/csvs/simple_cr.csv: -------------------------------------------------------------------------------- 1 | a,b,c 1,2,3 -------------------------------------------------------------------------------- /res/csvs/simple_crlf.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | -------------------------------------------------------------------------------- /res/csvs/utf8.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | 4,5,ʤ -------------------------------------------------------------------------------- /res/json/comma_in_quotes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/res/json/comma_in_quotes.json -------------------------------------------------------------------------------- /res/json/empty.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/res/json/empty.json -------------------------------------------------------------------------------- /res/json/empty_crlf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/res/json/empty_crlf.json -------------------------------------------------------------------------------- /res/json/escaped_quotes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/res/json/escaped_quotes.json -------------------------------------------------------------------------------- /res/json/json.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/res/json/json.json -------------------------------------------------------------------------------- /res/json/newlines.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/res/json/newlines.json -------------------------------------------------------------------------------- /res/json/newlines_crlf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/res/json/newlines_crlf.json -------------------------------------------------------------------------------- /res/json/quotes_and_newlines.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/res/json/quotes_and_newlines.json -------------------------------------------------------------------------------- /res/json/simple.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/res/json/simple.json -------------------------------------------------------------------------------- /res/json/simple_crlf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/res/json/simple_crlf.json -------------------------------------------------------------------------------- /res/json/utf8.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/res/json/utf8.json -------------------------------------------------------------------------------- /sample.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/sample.csv -------------------------------------------------------------------------------- /shared/shared-sources.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/shared-sources.iml -------------------------------------------------------------------------------- /shared/src/main/boilerplate/collections/immutable/CollSeq1-22.scala.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/main/boilerplate/collections/immutable/CollSeq1-22.scala.template -------------------------------------------------------------------------------- /shared/src/main/boilerplate/collections/io/CsvParser.scala.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/main/boilerplate/collections/io/CsvParser.scala.template -------------------------------------------------------------------------------- /shared/src/main/boilerplate/collections/package.scala.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/main/boilerplate/collections/package.scala.template -------------------------------------------------------------------------------- /shared/src/main/scala/collections/immutable/package.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/main/scala/collections/immutable/package.scala -------------------------------------------------------------------------------- /shared/src/main/scala/collections/io/CSVReader.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/main/scala/collections/io/CSVReader.scala -------------------------------------------------------------------------------- /shared/src/main/scala/collections/io/GeneralConverter.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/main/scala/collections/io/GeneralConverter.scala -------------------------------------------------------------------------------- /shared/src/main/scala/collections/io/InputBuffer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/main/scala/collections/io/InputBuffer.scala -------------------------------------------------------------------------------- /shared/src/main/scala/collections/io/Utils.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/main/scala/collections/io/Utils.scala -------------------------------------------------------------------------------- /shared/src/main/scala/collections/io/package.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/main/scala/collections/io/package.scala -------------------------------------------------------------------------------- /shared/src/main/scala/collections/util/Stats.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/main/scala/collections/util/Stats.scala -------------------------------------------------------------------------------- /shared/src/main/scala/collections/util/WeightedStats.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/main/scala/collections/util/WeightedStats.scala -------------------------------------------------------------------------------- /shared/src/main/scala/collections/util/package.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/main/scala/collections/util/package.scala -------------------------------------------------------------------------------- /shared/src/test/scala/BufferTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/test/scala/BufferTest.scala -------------------------------------------------------------------------------- /shared/src/test/scala/CollSeqSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/test/scala/CollSeqSpec.scala -------------------------------------------------------------------------------- /shared/src/test/scala/ConverterTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/test/scala/ConverterTest.scala -------------------------------------------------------------------------------- /shared/src/test/scala/CsvSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/test/scala/CsvSpec.scala -------------------------------------------------------------------------------- /shared/src/test/scala/IOSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/test/scala/IOSpec.scala -------------------------------------------------------------------------------- /shared/src/test/scala/ImplicitSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/test/scala/ImplicitSpec.scala -------------------------------------------------------------------------------- /shared/src/test/scala/MemTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/test/scala/MemTest.scala -------------------------------------------------------------------------------- /shared/src/test/scala/StatsSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/test/scala/StatsSpec.scala -------------------------------------------------------------------------------- /shared/src/test/scala/WeightedStatsSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marklister/product-collections/HEAD/shared/src/test/scala/WeightedStatsSpec.scala --------------------------------------------------------------------------------