Skip to content

Instantly share code, notes, and snippets.

Will Hayworth wsh

Block or report user

Report or block wsh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
wsh /
Created Aug 2, 2016
keybase proof

Keybase proof

I hereby claim:

  • I am wsh on github.
  • I am wsh ( on keybase.
  • I have a public key ASBOeHd55Uy-7WPwNdthF_FSbTxZy2AelNiRSy79KMyzkwo

To claim this, I am signing this object:

wsh /
Last active Dec 25, 2015
Break the Map interface to introduce null-safety via Guava's Optional. Does not allow null entries (surprise).
import java.util.Collection;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
public class OptionalMap<K, V> {
private final Map<K, V> map;
You can’t perform that action at this time.