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