Moved, see VIM Cheatsheet
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
public class ClosestToZeroFinder { | |
public int findClosest(int...candidateValues) { | |
validate(candidateValues); | |
return findClosestFrom(candidateValues); | |
} | |
public void validate(int... candidateValues) { | |
if(isBlank(candidateValues)) { | |
throw new IllegalArgumentException(); |
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
# ~/.vim/filetype.vim | |
au BufNewFile,BufRead *.gradle setf groovy |