Skip to content

Instantly share code, notes, and snippets.

View exoego's full-sized avatar
🏠
Working from home

TATSUNO “Taz” Yasuhiro exoego

🏠
Working from home
View GitHub Profile
final List<Integer> evenList = range(1, 100)
.asParallel()
.map((Func1) (arg) -> {
System.out.print(arg + " ");
return arg * 2;
}).toList();
@exoego
exoego / Poker.java
Created June 24, 2012 11:07
解答→第一回 オフラインリアルタイムどう書くの参考問題
package net.exoego.doukaku;
import java.util.*;
public class Poker {
private static enum Suit {
S, H, D, C;
static Suit from(final String value) {
return Suit.valueOf(Suit.class, value);
@exoego
exoego / monday.js
Created July 16, 2011 11:48
inspired by monday.vim
/**
* @author <a href="mailto:[email protected]">MOGAMI Shu</a>
*/
(function(namespace){
/** @private */
var _map = {};
// assign static function to monday
monday["addAll"] = addAll;