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
function curry(fn) { | |
var len = fn.length; | |
var ctx = this; | |
return innerExec([]); | |
function innerExec(args) { | |
return function () { | |
var newArgs = args.concat(Array.prototype.slice.apply(arguments)); | |
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 Backend<T> { | |
private int code; | |
private List<T> data; | |
private String msg; | |
public int getCode() { | |
return code; | |
} | |
public void setCode(int code) { |