blob: fa6e24dc7c72ab937b11d33aa9d57f914ac28c3b [file] [log] [blame]
package com.facebook.thrift.protocol;
import com.facebook.thrift.types.*;
/**
* Helper class that encapsulates set metadata.
*
* @author Mark Slee <mcslee@facebook.com>
*/
public class TSet {
public TSet() {}
public TSet(TType t, int s) {
this(t, new Int32(s));
}
public TSet(TType t, Int32 s) {
elemType = t;
size = s;
}
public TType elemType = TType.STOP;
public Int32 size = new Int32();
}