public class MyWrapper {
private String fieldOne;
private String fieldTwo;
public MyWrapper(String fO, String fT) {
fieldOne = fO;
fieldTwo = fT;
}
// dann die bekannten getter / setter Methoden:
public String toString() {
return fieldOne + " " + fieldTwo;
}
}