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 Fubar { | |
private boolean launch = true; | |
public void getLaunch(){ | |
return this.launch; | |
} | |
public void setLaunch(boolean launch){ | |
/* this.launch = launch; */ // broken! | |
} |
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
import groovy.transform.TypeChecked | |
/** | |
* search file according to its name in directory and subdirectories | |
*/ | |
@TypeChecked | |
class FileFind { | |
String basePath; // for unit testing |
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
/** Vsdf.java */ | |
package com.octodecillion.vsdf; | |
import static com.octodecillion.vsdf.Vsdf.EventType.END; | |
import static org.hamcrest.core.DescribedAs.describedAs; | |
import static org.hamcrest.core.Is.is; | |
import static org.hamcrest.core.IsEqual.equalTo; | |
import static org.hamcrest.core.IsNull.notNullValue; | |
import static org.junit.Assert.assertThat; | |
import static org.junit.Assert.assertTrue; |
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 com.octodecillion.junit; | |
import static org.hamcrest.core.IsEqual.equalTo; | |
import static org.junit.Assert.assertThat; | |
import static org.junit.Assert.assertTrue; | |
import java.util.HashMap; | |
import java.util.Map; | |
/** |
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 com.octodecillion.utils; | |
import java.io.IOException; | |
import java.util.Iterator; | |
import java.util.Map.Entry; | |
import java.util.jar.Attributes; | |
import java.util.jar.JarFile; |
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 com.octodecillion.inix | |
import java.util.regex.Pattern | |
import groovy.transform.TypeChecked | |
import java.util.regex.Matcher | |
/** | |
* | |
* | |
* @author Josef Betancourt |
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 com.octodecillion.sort; | |
import static org.hamcrest.core.Is.is; | |
import static org.hamcrest.core.IsEqual.equalTo; | |
import static org.junit.Assert.assertFalse; | |
import static org.junit.Assert.assertThat; | |
import static org.junit.Assert.assertTrue; | |
import java.util.ArrayList; | |
import java.util.Arrays; |
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 com.octodecillion.utils; | |
import java.io.File; | |
import java.io.FileReader; | |
import java.io.IOException; | |
import java.io.PrintWriter; | |
import java.io.Reader; |
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 com.octodecillion | |
import java.nio.file.Files; | |
/** | |
* Simple folder walker and file parser. | |
* <p> | |
* Dev with Groovy 2.1.6, Java 7, Eclipse 4.3 | |
* | |
* @author jbetancourt |
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
/** | |
* GoGenerator.groovy | |
* Copyright 2010 Josef Betancourt 20100312-17:47 | |
*/ | |
/*@Grapes([ | |
@Grab(group='ch.qos.logback', module='logback-core', version='0.9.18'), | |
@Grab(group='ch.qos.logback', module='logback-classic', version='0.9.18'), | |
@Grab(group='org.slf4j', module='slf4j-api', version='1.5.10')]) |
OlderNewer