@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_table = true && (isSetTable()); list.add(present_table); if (present_table) list.add(table); boolean present_scan = true && (isSetScan()); list.add(present_scan); if (present_scan) list.add(scan); boolean present_numRows = true; list.add(present_numRows); if (present_numRows) list.add(numRows); return list.hashCode(); }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_table = true && (isSetTable()); list.add(present_table); if (present_table) list.add(table); boolean present_scan = true && (isSetScan()); list.add(present_scan); if (present_scan) list.add(scan); boolean present_numRows = true; list.add(present_numRows); if (present_numRows) list.add(numRows); return list.hashCode(); }
public boolean equals(getScannerResults_args that) { if (that == null) return false; boolean this_present_table = true && this.isSetTable(); boolean that_present_table = true && that.isSetTable(); if (this_present_table || that_present_table) { if (!(this_present_table && that_present_table)) return false; if (!this.table.equals(that.table)) return false; } boolean this_present_scan = true && this.isSetScan(); boolean that_present_scan = true && that.isSetScan(); if (this_present_scan || that_present_scan) { if (!(this_present_scan && that_present_scan)) return false; if (!this.scan.equals(that.scan)) return false; } boolean this_present_numRows = true; boolean that_present_numRows = true; if (this_present_numRows || that_present_numRows) { if (!(this_present_numRows && that_present_numRows)) return false; if (this.numRows != that.numRows) return false; } return true; }
public boolean equals(getScannerResults_args that) { if (that == null) return false; boolean this_present_table = true && this.isSetTable(); boolean that_present_table = true && that.isSetTable(); if (this_present_table || that_present_table) { if (!(this_present_table && that_present_table)) return false; if (!this.table.equals(that.table)) return false; } boolean this_present_scan = true && this.isSetScan(); boolean that_present_scan = true && that.isSetScan(); if (this_present_scan || that_present_scan) { if (!(this_present_scan && that_present_scan)) return false; if (!this.scan.equals(that.scan)) return false; } boolean this_present_numRows = true; boolean that_present_numRows = true; if (this_present_numRows || that_present_numRows) { if (!(this_present_numRows && that_present_numRows)) return false; if (this.numRows != that.numRows) return false; } return true; }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TABLE: return isSetTable(); case SCAN: return isSetScan(); case NUM_ROWS: return isSetNumRows(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TABLE: return isSetTable(); case SCAN: return isSetScan(); case NUM_ROWS: return isSetNumRows(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public getScannerResults_args(getScannerResults_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTable()) { this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetScan()) { this.scan = new TScan(other.scan); } this.numRows = other.numRows; }
/** * Performs a deep copy on <i>other</i>. */ public getScannerResults_args(getScannerResults_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTable()) { this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetScan()) { this.scan = new TScan(other.scan); } this.numRows = other.numRows; }