Example usage for org.apache.thrift EncodingUtils testBit

List of usage examples for org.apache.thrift EncodingUtils testBit

Introduction

In this page you can find the example usage for org.apache.thrift EncodingUtils testBit.

Prototype

public static final boolean testBit(long v, int position) 

Source Link

Usage

From source file:com.fjn.helper.frameworkex.apache.thrift.shared.SharedStruct.java

License:Apache License

/**
 * Returns true if field key is set (has been assigned a value) and false
 * otherwise/*  ww w .  j a v a  2s  . c  o  m*/
 */
public boolean isSetKey() {
    return EncodingUtils.testBit(__isset_bitfield, __KEY_ISSET_ID);
}

From source file:com.fjn.helper.frameworkex.apache.thrift.tutorial.InvalidOperation.java

License:Apache License

/**
 * Returns true if field whatOp is set (has been assigned a value) and false
 * otherwise/*  w  ww  .j  a v  a 2  s  . c  om*/
 */
public boolean isSetWhatOp() {
    return EncodingUtils.testBit(__isset_bitfield, __WHATOP_ISSET_ID);
}

From source file:com.fjn.helper.frameworkex.apache.thrift.tutorial.Work.java

License:Apache License

/**
 * Returns true if field num1 is set (has been assigned a value) and false
 * otherwise//from w w  w  . ja  va  2  s  .  c o  m
 */
public boolean isSetNum1() {
    return EncodingUtils.testBit(__isset_bitfield, __NUM1_ISSET_ID);
}

From source file:com.fjn.helper.frameworkex.apache.thrift.tutorial.Work.java

License:Apache License

/**
 * Returns true if field num2 is set (has been assigned a value) and false
 * otherwise/*  www  .j ava  2  s  .  c om*/
 */
public boolean isSetNum2() {
    return EncodingUtils.testBit(__isset_bitfield, __NUM2_ISSET_ID);
}

From source file:com.hubrick.client.id.flurry.thrift.IdDetailed.java

License:Apache License

/**
 * Returns true if field id is set (has been assigned a value) and false otherwise
 *//*from  w  w w. j av a2  s.c  om*/
public boolean isSetId() {
    return EncodingUtils.testBit(__isset_bitfield, __ID_ISSET_ID);
}

From source file:com.hubrick.client.id.flurry.thrift.IdDetailed.java

License:Apache License

/**
 * Returns true if field time is set (has been assigned a value) and false otherwise
 *//*from   www . j  a  v  a  2s.  c  o m*/
public boolean isSetTime() {
    return EncodingUtils.testBit(__isset_bitfield, __TIME_ISSET_ID);
}

From source file:com.hubrick.client.id.flurry.thrift.IdDetailed.java

License:Apache License

/**
 * Returns true if field worker is set (has been assigned a value) and false otherwise
 *//*  ww w.ja  v a2 s  . c o  m*/
public boolean isSetWorker() {
    return EncodingUtils.testBit(__isset_bitfield, __WORKER_ISSET_ID);
}

From source file:com.hubrick.client.id.flurry.thrift.IdDetailed.java

License:Apache License

/**
 * Returns true if field sequence is set (has been assigned a value) and false otherwise
 *//*w  ww  . java  2 s  .  co  m*/
public boolean isSetSequence() {
    return EncodingUtils.testBit(__isset_bitfield, __SEQUENCE_ISSET_ID);
}

From source file:com.jredrain.base.job.Response.java

License:Apache License

/** Returns true if field exitCode is set (has been assigned a value) and false otherwise */
public boolean isSetExitCode() {
    return EncodingUtils.testBit(__isset_bitfield, __EXITCODE_ISSET_ID);
}

From source file:com.jredrain.base.job.Response.java

License:Apache License

/** 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);
}