public LazyMap deepCopy() { return new LazyMap(this); }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof LazyMap) return this.equals((LazyMap)that); return false; }
public boolean equals(LazyMap that) { if (that == null) return false; boolean this_present_keysOnly = true && this.isSetKeysOnly(); boolean that_present_keysOnly = true && that.isSetKeysOnly(); if (this_present_keysOnly || that_present_keysOnly) { if (!(this_present_keysOnly && that_present_keysOnly)) return false; if (!this.keysOnly.equals(that.keysOnly)) return false; } boolean this_present_fullMap = true && this.isSetFullMap(); boolean that_present_fullMap = true && that.isSetFullMap(); if (this_present_fullMap || that_present_fullMap) { if (!(this_present_fullMap && that_present_fullMap)) return false; if (!this.fullMap.equals(that.fullMap)) return false; } return true; }
case 0: // SUCCESS if (field.type == TType.STRUCT) { this.success = new com.evernote.edam.type.LazyMap(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, field.type);
public void write(TProtocol oprot) throws TException { validate(); if (isSetKeysOnly()) { oprot.writeFieldBegin(KEYS_ONLY_FIELD_DESC); if (isSetFullMap()) { oprot.writeFieldBegin(FULL_MAP_FIELD_DESC);
public void write(TProtocol oprot) throws TException { oprot.writeStructBegin(STRUCT_DESC); if (this.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); this.success.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetUserException()) { oprot.writeFieldBegin(USER_EXCEPTION_FIELD_DESC); this.userException.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetSystemException()) { oprot.writeFieldBegin(SYSTEM_EXCEPTION_FIELD_DESC); this.systemException.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetNotFoundException()) { oprot.writeFieldBegin(NOT_FOUND_EXCEPTION_FIELD_DESC); this.notFoundException.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
case 0: // SUCCESS if (field.type == TType.STRUCT) { this.success = new com.evernote.edam.type.LazyMap(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, field.type);
public void write(TProtocol oprot) throws TException { validate(); if (isSetKeysOnly()) { oprot.writeFieldBegin(KEYS_ONLY_FIELD_DESC); if (isSetFullMap()) { oprot.writeFieldBegin(FULL_MAP_FIELD_DESC);
public void write(TProtocol oprot) throws TException { oprot.writeStructBegin(STRUCT_DESC); if (this.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); this.success.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetUserException()) { oprot.writeFieldBegin(USER_EXCEPTION_FIELD_DESC); this.userException.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetSystemException()) { oprot.writeFieldBegin(SYSTEM_EXCEPTION_FIELD_DESC); this.systemException.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetNotFoundException()) { oprot.writeFieldBegin(NOT_FOUND_EXCEPTION_FIELD_DESC); this.notFoundException.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public boolean equals(LazyMap that) { if (that == null) return false; boolean this_present_keysOnly = true && this.isSetKeysOnly(); boolean that_present_keysOnly = true && that.isSetKeysOnly(); if (this_present_keysOnly || that_present_keysOnly) { if (!(this_present_keysOnly && that_present_keysOnly)) return false; if (!this.keysOnly.equals(that.keysOnly)) return false; } boolean this_present_fullMap = true && this.isSetFullMap(); boolean that_present_fullMap = true && that.isSetFullMap(); if (this_present_fullMap || that_present_fullMap) { if (!(this_present_fullMap && that_present_fullMap)) return false; if (!this.fullMap.equals(that.fullMap)) return false; } return true; }
case 0: // SUCCESS if (field.type == TType.STRUCT) { this.success = new com.evernote.edam.type.LazyMap(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, field.type);
public LazyMap deepCopy() { return new LazyMap(this); }
public void write(TProtocol oprot) throws TException { oprot.writeStructBegin(STRUCT_DESC); if (this.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); this.success.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetUserException()) { oprot.writeFieldBegin(USER_EXCEPTION_FIELD_DESC); this.userException.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetSystemException()) { oprot.writeFieldBegin(SYSTEM_EXCEPTION_FIELD_DESC); this.systemException.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetNotFoundException()) { oprot.writeFieldBegin(NOT_FOUND_EXCEPTION_FIELD_DESC); this.notFoundException.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof LazyMap) return this.equals((LazyMap)that); return false; }
/** * Performs a deep copy on <i>other</i>. */ public LazyMap(LazyMap other) { if (other.isSetKeysOnly()) { Set<String> __this__keysOnly = new HashSet<String>(); for (String other_element : other.keysOnly) { __this__keysOnly.add(other_element); } this.keysOnly = __this__keysOnly; } if (other.isSetFullMap()) { Map<String,String> __this__fullMap = new HashMap<String,String>(); for (Map.Entry<String, String> other_element : other.fullMap.entrySet()) { String other_element_key = other_element.getKey(); String other_element_value = other_element.getValue(); String __this__fullMap_copy_key = other_element_key; String __this__fullMap_copy_value = other_element_value; __this__fullMap.put(__this__fullMap_copy_key, __this__fullMap_copy_value); } this.fullMap = __this__fullMap; } }
case 0: // SUCCESS if (field.type == TType.STRUCT) { this.success = new com.evernote.edam.type.LazyMap(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, field.type);
this.applicationData = new LazyMap(other.applicationData);
public void write(TProtocol oprot) throws TException { oprot.writeStructBegin(STRUCT_DESC); if (this.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); this.success.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetUserException()) { oprot.writeFieldBegin(USER_EXCEPTION_FIELD_DESC); this.userException.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetSystemException()) { oprot.writeFieldBegin(SYSTEM_EXCEPTION_FIELD_DESC); this.systemException.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetNotFoundException()) { oprot.writeFieldBegin(NOT_FOUND_EXCEPTION_FIELD_DESC); this.notFoundException.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }