@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_functionName = true && (is_set_functionName()); list.add(present_functionName); if (present_functionName) list.add(functionName); boolean present_funcArgs = true && (is_set_funcArgs()); list.add(present_funcArgs); if (present_funcArgs) list.add(funcArgs); return list.hashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_functionName = true && (is_set_functionName()); builder.append(present_functionName); if (present_functionName) builder.append(functionName); boolean present_funcArgs = true && (is_set_funcArgs()); builder.append(present_funcArgs); if (present_funcArgs) builder.append(funcArgs); return builder.toHashCode(); }
@Override public int compareTo(execute_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(is_set_functionName()).compareTo(other.is_set_functionName()); if (lastComparison != 0) { return lastComparison; } if (is_set_functionName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.functionName, other.functionName); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(is_set_funcArgs()).compareTo(other.is_set_funcArgs()); if (lastComparison != 0) { return lastComparison; } if (is_set_funcArgs()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.funcArgs, other.funcArgs); if (lastComparison != 0) { return lastComparison; } } return 0; }
public boolean equals(execute_args that) { if (that == null) return false; boolean this_present_functionName = true && this.is_set_functionName(); boolean that_present_functionName = true && that.is_set_functionName(); if (this_present_functionName || that_present_functionName) { if (!(this_present_functionName && that_present_functionName)) return false; if (!this.functionName.equals(that.functionName)) return false; } boolean this_present_funcArgs = true && this.is_set_funcArgs(); boolean that_present_funcArgs = true && that.is_set_funcArgs(); if (this_present_funcArgs || that_present_funcArgs) { if (!(this_present_funcArgs && that_present_funcArgs)) return false; if (!this.funcArgs.equals(that.funcArgs)) return false; } return true; }
public boolean equals(execute_args that) { if (that == null) return false; boolean this_present_functionName = true && this.is_set_functionName(); boolean that_present_functionName = true && that.is_set_functionName(); if (this_present_functionName || that_present_functionName) { if (!(this_present_functionName && that_present_functionName)) return false; if (!this.functionName.equals(that.functionName)) return false; } boolean this_present_funcArgs = true && this.is_set_funcArgs(); boolean that_present_funcArgs = true && that.is_set_funcArgs(); if (this_present_funcArgs || that_present_funcArgs) { if (!(this_present_funcArgs && that_present_funcArgs)) return false; if (!this.funcArgs.equals(that.funcArgs)) return false; } return true; }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, execute_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.is_set_functionName()) { optionals.set(0); } if (struct.is_set_funcArgs()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.is_set_functionName()) { oprot.writeString(struct.functionName); } if (struct.is_set_funcArgs()) { oprot.writeString(struct.funcArgs); } }
/** 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 FUNCTION_NAME: return is_set_functionName(); case FUNC_ARGS: return is_set_funcArgs(); } 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 FUNCTION_NAME: return is_set_functionName(); case FUNC_ARGS: return is_set_funcArgs(); } throw new IllegalStateException(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_functionName = true && (is_set_functionName()); builder.append(present_functionName); if (present_functionName) builder.append(functionName); boolean present_funcArgs = true && (is_set_funcArgs()); builder.append(present_funcArgs); if (present_funcArgs) builder.append(funcArgs); return builder.toHashCode(); }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_functionName = true && (is_set_functionName()); list.add(present_functionName); if (present_functionName) list.add(functionName); boolean present_funcArgs = true && (is_set_funcArgs()); list.add(present_funcArgs); if (present_funcArgs) list.add(funcArgs); return list.hashCode(); }
/** * Performs a deep copy on <i>other</i>. */ public execute_args(execute_args other) { if (other.is_set_functionName()) { this.functionName = other.functionName; } if (other.is_set_funcArgs()) { this.funcArgs = other.funcArgs; } }
/** * Performs a deep copy on <i>other</i>. */ public execute_args(execute_args other) { if (other.is_set_functionName()) { this.functionName = other.functionName; } if (other.is_set_funcArgs()) { this.funcArgs = other.funcArgs; } }
public int compareTo(execute_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; execute_args typedOther = (execute_args)other; lastComparison = Boolean.valueOf(is_set_functionName()).compareTo(typedOther.is_set_functionName()); if (lastComparison != 0) { return lastComparison; } if (is_set_functionName()) { lastComparison = org.apache.thrift7.TBaseHelper.compareTo(this.functionName, typedOther.functionName); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(is_set_funcArgs()).compareTo(typedOther.is_set_funcArgs()); if (lastComparison != 0) { return lastComparison; } if (is_set_funcArgs()) { lastComparison = org.apache.thrift7.TBaseHelper.compareTo(this.funcArgs, typedOther.funcArgs); if (lastComparison != 0) { return lastComparison; } } return 0; }
public boolean equals(execute_args that) { if (that == null) return false; boolean this_present_functionName = true && this.is_set_functionName(); boolean that_present_functionName = true && that.is_set_functionName(); if (this_present_functionName || that_present_functionName) { if (!(this_present_functionName && that_present_functionName)) return false; if (!this.functionName.equals(that.functionName)) return false; } boolean this_present_funcArgs = true && this.is_set_funcArgs(); boolean that_present_funcArgs = true && that.is_set_funcArgs(); if (this_present_funcArgs || that_present_funcArgs) { if (!(this_present_funcArgs && that_present_funcArgs)) return false; if (!this.funcArgs.equals(that.funcArgs)) return false; } return true; }
public boolean equals(execute_args that) { if (that == null) return false; boolean this_present_functionName = true && this.is_set_functionName(); boolean that_present_functionName = true && that.is_set_functionName(); if (this_present_functionName || that_present_functionName) { if (!(this_present_functionName && that_present_functionName)) return false; if (!this.functionName.equals(that.functionName)) return false; } boolean this_present_funcArgs = true && this.is_set_funcArgs(); boolean that_present_funcArgs = true && that.is_set_funcArgs(); if (this_present_funcArgs || that_present_funcArgs) { if (!(this_present_funcArgs && that_present_funcArgs)) return false; if (!this.funcArgs.equals(that.funcArgs)) 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 FUNCTION_NAME: return is_set_functionName(); case FUNC_ARGS: return is_set_funcArgs(); } throw new IllegalStateException(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, execute_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.is_set_functionName()) { optionals.set(0); } if (struct.is_set_funcArgs()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.is_set_functionName()) { oprot.writeString(struct.functionName); } if (struct.is_set_funcArgs()) { oprot.writeString(struct.funcArgs); } }
/** * Performs a deep copy on <i>other</i>. */ public execute_args(execute_args other) { if (other.is_set_functionName()) { this.functionName = other.functionName; } if (other.is_set_funcArgs()) { this.funcArgs = other.funcArgs; } }
/** 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 FUNCTION_NAME: return is_set_functionName(); case FUNC_ARGS: return is_set_funcArgs(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public execute_args(execute_args other) { if (other.is_set_functionName()) { this.functionName = other.functionName; } if (other.is_set_funcArgs()) { this.funcArgs = other.funcArgs; } }