Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
2 answers
2k views

Cost calculator for room bookings, based on file or user input

The application I would like help with is a booking calculation tool that runs a few simple calculations in order to work out the cost of someone's stay. It currently contains only two java files, ...
NoDirection's user avatar
23 votes
3 answers
3k views

Parsing log files of HearthStone: The log reading API

I'm still working on a parser that can parse log entries from a game called HearthStone, the overall idea is that it will read the log file live when the game is running, parses the log file and show ...
skiwi's user avatar
  • 10.7k
6 votes
2 answers
223 views

Extensible Abstract Log Reader

My goal with the following code is to provide an extensible class that can be extended in order to read log files and transforms them into meaningful output. I'd like to have comments about the code ...
skiwi's user avatar
  • 10.7k
1 vote
2 answers
5k views

Reading columns of a delimited text file

This class reads a delimited text file into String arrays on demand. Delimiter can be any regex. Features include: Read a single column Read a range of columns Read arbitrary columns by providing an ...
qed's user avatar
  • 1,439
0 votes
1 answer
1k views

Read first column of a space delimited file with Java 8 stream

Code: ...
qed's user avatar
  • 1,439
2 votes
1 answer
68 views

A Java class for reading MaCH dosage files v2.0

Version 2 of A Java class for reading MaCH dosage files ...
qed's user avatar
  • 1,439
3 votes
1 answer
112 views

A Java class for reading MaCH dosage files

A dosage file (used in computational genetics) is formatted like this: ...
qed's user avatar
  • 1,439
8 votes
2 answers
2k views

Speed up CSV reading code (vector of doubles)

I am trying to read a single-columned CSV of doubles into Java with a string header. It is 11 megabytes and takes over 15 minutes to read, which is clearly ...
user2763361's user avatar