@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_get = true && (isSetGet()); list.add(present_get); if (present_get) list.add(get); 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_get = true && (isSetGet()); list.add(present_get); if (present_get) list.add(get); return list.hashCode(); }
@Override public int compareTo(exists_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(isSetGet()).compareTo(other.isSetGet()); if (lastComparison != 0) { return lastComparison; } if (isSetGet()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.get, other.get); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(exists_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; exists_args typedOther = (exists_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(isSetGet()).compareTo(typedOther.isSetGet()); if (lastComparison != 0) { return lastComparison; } if (isSetGet()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.get, typedOther.get); if (lastComparison != 0) { return lastComparison; } } return 0; }
public boolean equals(exists_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_get = true && this.isSetGet(); boolean that_present_get = true && that.isSetGet(); if (this_present_get || that_present_get) { if (!(this_present_get && that_present_get)) return false; if (!this.get.equals(that.get)) 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 GET: return isSetGet(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public exists_args(exists_args other) { if (other.isSetTable()) { this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); ; } if (other.isSetGet()) { this.get = new TGet(other.get); } }
@Override public int compareTo(exists_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(isSetGet()).compareTo(other.isSetGet()); if (lastComparison != 0) { return lastComparison; } if (isSetGet()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.get, other.get); if (lastComparison != 0) { return lastComparison; } } return 0; }
public boolean equals(exists_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_get = true && this.isSetGet(); boolean that_present_get = true && that.isSetGet(); if (this_present_get || that_present_get) { if (!(this_present_get && that_present_get)) return false; if (!this.get.equals(that.get)) return false; } return true; }
public boolean equals(exists_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_get = true && this.isSetGet(); boolean that_present_get = true && that.isSetGet(); if (this_present_get || that_present_get) { if (!(this_present_get && that_present_get)) return false; if (!this.get.equals(that.get)) 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 GET: return isSetGet(); } 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 GET: return isSetGet(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public exists_args(exists_args other) { if (other.isSetTable()) { this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetGet()) { this.get = new TGet(other.get); } }
/** * Performs a deep copy on <i>other</i>. */ public exists_args(exists_args other) { if (other.isSetTable()) { this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetGet()) { this.get = new TGet(other.get); } }