| Mark Slee | 83c52a8 | 2006-06-07 06:51:18 +0000 | [diff] [blame] | 1 | package com.facebook.thrift.protocol; |
| 2 | |||||
| 3 | import com.facebook.thrift.types.*; | ||||
| 4 | |||||
| 5 | /** | ||||
| 6 | * Helper class that encapsulates struct metadata. | ||||
| 7 | * | ||||
| 8 | * @author Mark Slee <mcslee@facebook.com> | ||||
| 9 | */ | ||||
| 10 | public class TStruct { | ||||
| 11 | public TStruct() {} | ||||
| 12 | |||||
| 13 | public TStruct(String n) { | ||||
| 14 | name = n; | ||||
| 15 | } | ||||
| 16 | |||||
| 17 | public String name = ""; | ||||
| 18 | } | ||||