Skip to content

Instantly share code, notes, and snippets.

View csesteban's full-sized avatar

Carlos San Esteban csesteban

  • Tres Cantos (Madrid) España
View GitHub Profile
@csesteban
csesteban / Wrapper.java
Created October 9, 2011 18:43 — forked from unclebob/Wrapper.java
Sometimes less is more ;)
public class Wrapper {
public static String wrap(String s, int col) {
return new Wrapper(col).wrap(s);
}
private int col;
private Wrapper(int col) {
this.col = col;
}