blob: c40ef714d4d522688da775da8ebc711c207c8d8a [file] [log] [blame]
Mark Slee7eb0d632007-03-01 00:00:27 +00001// Copyright (c) 2006- Facebook
2// Distributed under the Thrift Software License
3//
4// See accompanying file LICENSE or visit the Thrift site at:
5// http://developers.facebook.com/thrift/
6
Mark Slee83c52a82006-06-07 06:51:18 +00007package com.facebook.thrift.protocol;
8
Mark Slee83c52a82006-06-07 06:51:18 +00009/**
10 * Helper class that encapsulates set metadata.
11 *
12 * @author Mark Slee <mcslee@facebook.com>
13 */
14public class TSet {
15 public TSet() {}
16
Mark Slee530fd662006-08-09 00:05:18 +000017 public TSet(byte t, int s) {
Mark Slee83c52a82006-06-07 06:51:18 +000018 elemType = t;
19 size = s;
20 }
21
Mark Slee530fd662006-08-09 00:05:18 +000022 public byte elemType = TType.STOP;
23 public int size = 0;
Mark Slee83c52a82006-06-07 06:51:18 +000024}