@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_puts = true && (isSetPuts()); list.add(present_puts); if (present_puts) list.add(puts); 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_puts = true && (isSetPuts()); list.add(present_puts); if (present_puts) list.add(puts); return list.hashCode(); }
@Override public int compareTo(putMultiple_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(isSetPuts()).compareTo(other.isSetPuts()); if (lastComparison != 0) { return lastComparison; } if (isSetPuts()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.puts, other.puts); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(putMultiple_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; putMultiple_args typedOther = (putMultiple_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(isSetPuts()).compareTo(typedOther.isSetPuts()); if (lastComparison != 0) { return lastComparison; } if (isSetPuts()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.puts, typedOther.puts); if (lastComparison != 0) { return lastComparison; } } return 0; }
public boolean equals(putMultiple_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_puts = true && this.isSetPuts(); boolean that_present_puts = true && that.isSetPuts(); if (this_present_puts || that_present_puts) { if (!(this_present_puts && that_present_puts)) return false; if (!this.puts.equals(that.puts)) return false; } return true; }
/** * Performs a deep copy on <i>other</i>. */ public putMultiple_args(putMultiple_args other) { if (other.isSetTable()) { this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); ; } if (other.isSetPuts()) { List<TPut> __this__puts = new ArrayList<TPut>(); for (TPut other_element : other.puts) { __this__puts.add(new TPut(other_element)); } this.puts = __this__puts; } }
/** 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 PUTS: return isSetPuts(); } throw new IllegalStateException(); }
@Override public int compareTo(putMultiple_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(isSetPuts()).compareTo(other.isSetPuts()); if (lastComparison != 0) { return lastComparison; } if (isSetPuts()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.puts, other.puts); if (lastComparison != 0) { return lastComparison; } } return 0; }
public boolean equals(putMultiple_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_puts = true && this.isSetPuts(); boolean that_present_puts = true && that.isSetPuts(); if (this_present_puts || that_present_puts) { if (!(this_present_puts && that_present_puts)) return false; if (!this.puts.equals(that.puts)) return false; } return true; }
public boolean equals(putMultiple_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_puts = true && this.isSetPuts(); boolean that_present_puts = true && that.isSetPuts(); if (this_present_puts || that_present_puts) { if (!(this_present_puts && that_present_puts)) return false; if (!this.puts.equals(that.puts)) return false; } return true; }
/** * Performs a deep copy on <i>other</i>. */ public putMultiple_args(putMultiple_args other) { if (other.isSetTable()) { this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetPuts()) { List<TPut> __this__puts = new ArrayList<TPut>(other.puts.size()); for (TPut other_element : other.puts) { __this__puts.add(new TPut(other_element)); } this.puts = __this__puts; } }
/** * Performs a deep copy on <i>other</i>. */ public putMultiple_args(putMultiple_args other) { if (other.isSetTable()) { this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetPuts()) { List<TPut> __this__puts = new ArrayList<TPut>(other.puts.size()); for (TPut other_element : other.puts) { __this__puts.add(new TPut(other_element)); } this.puts = __this__puts; } }
/** 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 PUTS: return isSetPuts(); } 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 PUTS: return isSetPuts(); } throw new IllegalStateException(); }