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 jnk.emily.leapyear; | |
import static com.google.common.base.Preconditions.*; | |
import com.google.common.base.Predicate; | |
/** | |
* @author Emily Soldal | |
* @created 4 Jan 2012 | |
*/ |
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 me.emily; | |
import com.google.common.base.Preconditions; | |
import com.google.common.base.Predicate; | |
import com.google.common.base.Predicates; | |
/** | |
* @author Emily | |
* @created 23. des. 2011 | |
*/ |
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 me.emily.hasher; | |
import java.security.MessageDigest; | |
import no.computanse.hashing.HashUtil; | |
/** | |
* @author Emily | |
* @created 22. des. 2011 | |
*/ |
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 me.emily.fizzbuzz; | |
import static com.google.common.collect.Iterables.*; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.concurrent.ScheduledThreadPoolExecutor; | |
import com.google.common.base.Joiner; | |
import com.google.common.base.Stopwatch; |
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 me.emily.fizzbuzz; | |
import com.google.common.base.Function; | |
/** | |
* @author Emily Soldal | |
* @created 13. des. 2011 | |
*/ | |
public enum AlternativeFizzBuzzFunction implements Function<Long, String> { | |
instance; |
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 me.emily.patterns.functions; | |
import static com.google.common.base.Preconditions.*; | |
import com.google.common.base.Function; | |
import com.google.common.base.Functions; | |
import com.google.common.collect.ForwardingObject; | |
/** |
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 no.emily.web.security; | |
import java.io.IOException; | |
import javax.servlet.Filter; | |
import javax.servlet.FilterChain; | |
import javax.servlet.FilterConfig; | |
import javax.servlet.ServletException; | |
import javax.servlet.ServletRequest; | |
import javax.servlet.ServletResponse; |
NewerOlder