| Mark Slee | 83c52a8 | 2006-06-07 06:51:18 +0000 | [diff] [blame] | 1 | package com.facebook.thrift.protocol; |
| 2 | |||||
| 3 | /** | ||||
| 4 | * Wrapper around String so that you can pass this object to a function and | ||||
| 5 | * have it set the internal string value. | ||||
| 6 | * | ||||
| 7 | * @author Mark Slee <mcslee@facebook.com> | ||||
| 8 | */ | ||||
| 9 | public class TString { | ||||
| 10 | public TString() {} | ||||
| 11 | |||||
| 12 | public TString(String v) { | ||||
| 13 | value = v; | ||||
| 14 | } | ||||
| 15 | |||||
| 16 | public String value = ""; | ||||
| 17 | } | ||||