@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_deletes = true && (isSetDeletes()); list.add(present_deletes); if (present_deletes) list.add(deletes); 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_deletes = true && (isSetDeletes()); list.add(present_deletes); if (present_deletes) list.add(deletes); return list.hashCode(); }
@Override public int compareTo(deleteMultiple_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); if (lastComparison != 0) { return lastComparison; } if (isSetTable()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetDeletes()).compareTo(other.isSetDeletes()); if (lastComparison != 0) { return lastComparison; } if (isSetDeletes()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deletes, other.deletes); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(deleteMultiple_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; deleteMultiple_args typedOther = (deleteMultiple_args)other; lastComparison = Boolean.valueOf(isSetTable()).compareTo(typedOther.isSetTable()); if (lastComparison != 0) { return lastComparison; } if (isSetTable()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, typedOther.table); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetDeletes()).compareTo(typedOther.isSetDeletes()); if (lastComparison != 0) { return lastComparison; } if (isSetDeletes()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deletes, typedOther.deletes); if (lastComparison != 0) { return lastComparison; } } return 0; }
public boolean equals(deleteMultiple_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_deletes = true && this.isSetDeletes(); boolean that_present_deletes = true && that.isSetDeletes(); if (this_present_deletes || that_present_deletes) { if (!(this_present_deletes && that_present_deletes)) return false; if (!this.deletes.equals(that.deletes)) return false; } return true; }
/** * Performs a deep copy on <i>other</i>. */ public deleteMultiple_args(deleteMultiple_args other) { if (other.isSetTable()) { this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); ; } if (other.isSetDeletes()) { List<TDelete> __this__deletes = new ArrayList<TDelete>(); for (TDelete other_element : other.deletes) { __this__deletes.add(new TDelete(other_element)); } this.deletes = __this__deletes; } }
/** 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 DELETES: return isSetDeletes(); } throw new IllegalStateException(); }
@Override public int compareTo(deleteMultiple_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); if (lastComparison != 0) { return lastComparison; } if (isSetTable()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetDeletes()).compareTo(other.isSetDeletes()); if (lastComparison != 0) { return lastComparison; } if (isSetDeletes()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deletes, other.deletes); if (lastComparison != 0) { return lastComparison; } } return 0; }
public boolean equals(deleteMultiple_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_deletes = true && this.isSetDeletes(); boolean that_present_deletes = true && that.isSetDeletes(); if (this_present_deletes || that_present_deletes) { if (!(this_present_deletes && that_present_deletes)) return false; if (!this.deletes.equals(that.deletes)) return false; } return true; }
public boolean equals(deleteMultiple_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_deletes = true && this.isSetDeletes(); boolean that_present_deletes = true && that.isSetDeletes(); if (this_present_deletes || that_present_deletes) { if (!(this_present_deletes && that_present_deletes)) return false; if (!this.deletes.equals(that.deletes)) return false; } return true; }
/** * Performs a deep copy on <i>other</i>. */ public deleteMultiple_args(deleteMultiple_args other) { if (other.isSetTable()) { this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetDeletes()) { List<TDelete> __this__deletes = new ArrayList<TDelete>(other.deletes.size()); for (TDelete other_element : other.deletes) { __this__deletes.add(new TDelete(other_element)); } this.deletes = __this__deletes; } }
/** * Performs a deep copy on <i>other</i>. */ public deleteMultiple_args(deleteMultiple_args other) { if (other.isSetTable()) { this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetDeletes()) { List<TDelete> __this__deletes = new ArrayList<TDelete>(other.deletes.size()); for (TDelete other_element : other.deletes) { __this__deletes.add(new TDelete(other_element)); } this.deletes = __this__deletes; } }
/** 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 DELETES: return isSetDeletes(); } 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 DELETES: return isSetDeletes(); } throw new IllegalStateException(); }