This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package kata13; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.Reader; | |
import static org.apache.commons.lang.StringUtils.isNotBlank; | |
public class LineCounter { | |
private static enum State {INSIDE_COMMENT, OUTSIDE_COMMENT} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package euler; | |
import com.google.common.collect.Iterables; | |
import java.math.BigInteger; | |
import java.util.List; | |
import java.util.SortedSet; | |
import static com.google.common.collect.Lists.newArrayList; |