Lines Matching defs:StringWrapper
107 private static class StringWrapper {
110 public StringWrapper(String value) {
116 Converter<StringWrapper, String> first = new Converter<StringWrapper, String>() {
117 @Override public String doForward(StringWrapper object) {
121 @Override public StringWrapper doBackward(String object) {
122 return new StringWrapper(object);
126 return "StringWrapper";
130 Converter<StringWrapper, Long> converter = first.andThen(STR_TO_LONG);
132 assertEquals(LONG_VAL, converter.convert(new StringWrapper(STR_VAL)));
135 assertEquals("StringWrapper.andThen(string2long)", converter.toString());