本文整理汇总了Java中org.apache.thrift.EncodingUtils.testBit方法的典型用法代码示例。如果您正苦于以下问题:Java EncodingUtils.testBit方法的具体用法?Java EncodingUtils.testBit怎么用?Java EncodingUtils.testBit使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.thrift.EncodingUtils
的用法示例。
在下文中一共展示了EncodingUtils.testBit方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: isSetCrcCode
import org.apache.thrift.EncodingUtils; //导入方法依赖的package包/类
/** Returns true if field crcCode is set (has been assigned a value) and false otherwise */
public boolean isSetCrcCode() {
return EncodingUtils.testBit(__isset_bitfield, __CRCCODE_ISSET_ID);
}
示例2: isSetBatchSize
import org.apache.thrift.EncodingUtils; //导入方法依赖的package包/类
/** Returns true if field batchSize is set (has been assigned a value) and false otherwise */
public boolean isSetBatchSize() {
return EncodingUtils.testBit(__isset_bitfield, __BATCHSIZE_ISSET_ID);
}
示例3: isSetNodeId
import org.apache.thrift.EncodingUtils; //导入方法依赖的package包/类
/** Returns true if field nodeId is set (has been assigned a value) and false otherwise */
public boolean isSetNodeId() {
return EncodingUtils.testBit(__isset_bitfield, __NODEID_ISSET_ID);
}
示例4: isSetTimestamp
import org.apache.thrift.EncodingUtils; //导入方法依赖的package包/类
/** Returns true if field timestamp is set (has been assigned a value) and false otherwise */
public boolean isSetTimestamp() {
return EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID);
}
示例5: isSetResponseTo
import org.apache.thrift.EncodingUtils; //导入方法依赖的package包/类
/** Returns true if field responseTo is set (has been assigned a value) and false otherwise */
public boolean isSetResponseTo() {
return EncodingUtils.testBit(__isset_bitfield, __RESPONSETO_ISSET_ID);
}
示例6: isSetLength
import org.apache.thrift.EncodingUtils; //导入方法依赖的package包/类
/** Returns true if field length is set (has been assigned a value) and false otherwise */
public boolean isSetLength() {
return EncodingUtils.testBit(__isset_bitfield, __LENGTH_ISSET_ID);
}
示例7: isSetSuccess
import org.apache.thrift.EncodingUtils; //导入方法依赖的package包/类
/**
* Returns true if field success is set (has been assigned a value) and false otherwise
*/
public boolean isSetSuccess() {
return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID);
}
示例8: isSetB
import org.apache.thrift.EncodingUtils; //导入方法依赖的package包/类
/** Returns true if field b is set (has been assigned a value) and false otherwise */
public boolean isSetB() {
return EncodingUtils.testBit(__isset_bitfield, __B_ISSET_ID);
}
示例9: isSetMaxStamp
import org.apache.thrift.EncodingUtils; //导入方法依赖的package包/类
/** Returns true if field maxStamp is set (has been assigned a value) and false otherwise */
public boolean isSetMaxStamp() {
return EncodingUtils.testBit(__isset_bitfield, __MAXSTAMP_ISSET_ID);
}
示例10: isSetSuccess
import org.apache.thrift.EncodingUtils; //导入方法依赖的package包/类
/** Returns true if field success is set (has been assigned a value) and false otherwise */
public boolean isSetSuccess() {
return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID);
}
示例11: isSetInMemory
import org.apache.thrift.EncodingUtils; //导入方法依赖的package包/类
/** Returns true if field inMemory is set (has been assigned a value) and false otherwise */
public boolean isSetInMemory() {
return EncodingUtils.testBit(__isset_bitfield, __INMEMORY_ISSET_ID);
}
示例12: isSetHasResultSet
import org.apache.thrift.EncodingUtils; //导入方法依赖的package包/类
/** Returns true if field hasResultSet is set (has been assigned a value) and false otherwise */
public boolean isSetHasResultSet() {
return EncodingUtils.testBit(__isset_bitfield, __HASRESULTSET_ISSET_ID);
}
示例13: isSetPort
import org.apache.thrift.EncodingUtils; //导入方法依赖的package包/类
/** Returns true if field port is set (has been assigned a value) and false otherwise */
public boolean isSetPort() {
return EncodingUtils.testBit(__isset_bitfield, __PORT_ISSET_ID);
}
示例14: isSetErrorCode
import org.apache.thrift.EncodingUtils; //导入方法依赖的package包/类
/** Returns true if field errorCode is set (has been assigned a value) and false otherwise */
public boolean isSetErrorCode() {
return EncodingUtils.testBit(__isset_bitfield, __ERRORCODE_ISSET_ID);
}