Last active
June 27, 2016 22:02
-
-
Save DeepSpawn/d050a43f2eebc3e9c6a1914a6ffd7ffd to your computer and use it in GitHub Desktop.
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 static final class Jobj extends Json { | |
private final Map<String, Json> members; | |
public Jobj(final Map<String, Json> members) { | |
this.members = members; | |
} | |
public Map<String, Json> getMembers() { | |
return members; | |
} | |
@Override | |
public <T> T match(final Function<Jseq, T> a, | |
final Function<Jobj, T> b, | |
final Function<Jnumber, T> c, | |
final Function<Jstring, T> d, | |
final Function<Jboolean, T> e, | |
final Function<JNull, T> f) { | |
return b.apply(this); | |
} | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment