Skip to content

Instantly share code, notes, and snippets.

View Fabszn's full-sized avatar
🏠
Home coder

Fabrice Sznajderman Fabszn

🏠
Home coder
View GitHub Profile
public class BenchmarkProxyManager implements InvocationHandler {
private Benchmark o;
public BenchmarkProxyManager(Benchmark o) {
this.o = o;
}
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
public class LambdaJBenchmark implements Benchmark {
public void iterateSimpleList(final List<String> lines) {
convert(lines, new Converter<Object, Object>() {
public Object convert(Object o) {
return o;
}
});
}