((IDLSequence.Long) seq).add(val.asLong());
child.add(((IDLSequence.Long) seq).get(i));
throw new RuntimeException("int32_values field exceeds the maximum length"); if(data.getUint32Values().size() <= 100) cdr.write_type_e(data.getUint32Values());else throw new RuntimeException("uint32_values field exceeds the maximum length"); if(data.getInt64Values().size() <= 100) cdr.write_type_e(data.getInt64Values());else throw new RuntimeException("int64_values field exceeds the maximum length"); if(data.getUint64Values().size() <= 100) cdr.write_type_e(data.getUint64Values());else throw new RuntimeException("uint64_values field exceeds the maximum length");
((IDLSequence.Long) seq).add(val.asLong());
child.add(((IDLSequence.Long) seq).get(i));
throw new RuntimeException("int32_values field exceeds the maximum length"); if(data.getUint32Values().size() <= 3) cdr.write_type_e(data.getUint32Values());else throw new RuntimeException("uint32_values field exceeds the maximum length"); if(data.getInt64Values().size() <= 3) cdr.write_type_e(data.getInt64Values());else throw new RuntimeException("int64_values field exceeds the maximum length"); if(data.getUint64Values().size() <= 3) cdr.write_type_e(data.getUint64Values());else throw new RuntimeException("uint64_values field exceeds the maximum length");
current_alignment += (data.getUint32Values().size() * 4) + us.ihmc.idl.CDR.alignment(current_alignment, 4); current_alignment += (data.getInt64Values().size() * 8) + us.ihmc.idl.CDR.alignment(current_alignment, 8); current_alignment += (data.getUint64Values().size() * 8) + us.ihmc.idl.CDR.alignment(current_alignment, 8);
current_alignment += (data.getUint32Values().size() * 4) + us.ihmc.idl.CDR.alignment(current_alignment, 4); current_alignment += (data.getInt64Values().size() * 8) + us.ihmc.idl.CDR.alignment(current_alignment, 8); current_alignment += (data.getUint64Values().size() * 8) + us.ihmc.idl.CDR.alignment(current_alignment, 8);
@Override public boolean equals(Object other) { if(other == null) return false; if(other == this) return true; if(!(other instanceof BoundedArrayPrimitives)) return false; BoundedArrayPrimitives otherMyClass = (BoundedArrayPrimitives) other; if (!this.bool_values_.equals(otherMyClass.bool_values_)) return false; if (!this.byte_values_.equals(otherMyClass.byte_values_)) return false; if (!this.char_values_.equals(otherMyClass.char_values_)) return false; if (!this.float32_values_.equals(otherMyClass.float32_values_)) return false; if (!this.float64_values_.equals(otherMyClass.float64_values_)) return false; if (!this.int8_values_.equals(otherMyClass.int8_values_)) return false; if (!this.uint8_values_.equals(otherMyClass.uint8_values_)) return false; if (!this.int16_values_.equals(otherMyClass.int16_values_)) return false; if (!this.uint16_values_.equals(otherMyClass.uint16_values_)) return false; if (!this.int32_values_.equals(otherMyClass.int32_values_)) return false; if (!this.uint32_values_.equals(otherMyClass.uint32_values_)) return false; if (!this.int64_values_.equals(otherMyClass.int64_values_)) return false; if (!this.uint64_values_.equals(otherMyClass.uint64_values_)) return false; if (!this.string_values_.equals(otherMyClass.string_values_)) return false; if(this.check_ != otherMyClass.check_) return false; return true; }
@Override public boolean equals(Object other) { if(other == null) return false; if(other == this) return true; if(!(other instanceof DynamicArrayPrimitives)) return false; DynamicArrayPrimitives otherMyClass = (DynamicArrayPrimitives) other; if (!this.bool_values_.equals(otherMyClass.bool_values_)) return false; if (!this.byte_values_.equals(otherMyClass.byte_values_)) return false; if (!this.char_values_.equals(otherMyClass.char_values_)) return false; if (!this.float32_values_.equals(otherMyClass.float32_values_)) return false; if (!this.float64_values_.equals(otherMyClass.float64_values_)) return false; if (!this.int8_values_.equals(otherMyClass.int8_values_)) return false; if (!this.uint8_values_.equals(otherMyClass.uint8_values_)) return false; if (!this.int16_values_.equals(otherMyClass.int16_values_)) return false; if (!this.uint16_values_.equals(otherMyClass.uint16_values_)) return false; if (!this.int32_values_.equals(otherMyClass.int32_values_)) return false; if (!this.uint32_values_.equals(otherMyClass.uint32_values_)) return false; if (!this.int64_values_.equals(otherMyClass.int64_values_)) return false; if (!this.uint64_values_.equals(otherMyClass.uint64_values_)) return false; if (!this.string_values_.equals(otherMyClass.string_values_)) return false; if(this.check_ != otherMyClass.check_) return false; return true; }
public void set(BoundedArrayPrimitives other) { bool_values_.set(other.bool_values_); byte_values_.set(other.byte_values_); char_values_.set(other.char_values_); float32_values_.set(other.float32_values_); float64_values_.set(other.float64_values_); int8_values_.set(other.int8_values_); uint8_values_.set(other.uint8_values_); int16_values_.set(other.int16_values_); uint16_values_.set(other.uint16_values_); int32_values_.set(other.int32_values_); uint32_values_.set(other.uint32_values_); int64_values_.set(other.int64_values_); uint64_values_.set(other.uint64_values_); string_values_.set(other.string_values_); check_ = other.check_; }
public void set(DynamicArrayPrimitives other) { bool_values_.set(other.bool_values_); byte_values_.set(other.byte_values_); char_values_.set(other.char_values_); float32_values_.set(other.float32_values_); float64_values_.set(other.float64_values_); int8_values_.set(other.int8_values_); uint8_values_.set(other.uint8_values_); int16_values_.set(other.int16_values_); uint16_values_.set(other.uint16_values_); int32_values_.set(other.int32_values_); uint32_values_.set(other.uint32_values_); int64_values_.set(other.int64_values_); uint64_values_.set(other.uint64_values_); string_values_.set(other.string_values_); check_ = other.check_; }
public DynamicArrayPrimitives() { bool_values_ = new us.ihmc.idl.IDLSequence.Boolean (100, "type_7"); byte_values_ = new us.ihmc.idl.IDLSequence.Byte (100, "type_9"); char_values_ = new us.ihmc.idl.IDLSequence.Char (100, "type_8"); float32_values_ = new us.ihmc.idl.IDLSequence.Float (100, "type_5"); float64_values_ = new us.ihmc.idl.IDLSequence.Double (100, "type_6"); int8_values_ = new us.ihmc.idl.IDLSequence.Byte (100, "type_9"); uint8_values_ = new us.ihmc.idl.IDLSequence.Byte (100, "type_9"); int16_values_ = new us.ihmc.idl.IDLSequence.Short (100, "type_1"); uint16_values_ = new us.ihmc.idl.IDLSequence.Integer (100, "type_3"); int32_values_ = new us.ihmc.idl.IDLSequence.Integer (100, "type_2"); uint32_values_ = new us.ihmc.idl.IDLSequence.Long (100, "type_4"); int64_values_ = new us.ihmc.idl.IDLSequence.Long (100, "type_11"); uint64_values_ = new us.ihmc.idl.IDLSequence.Long (100, "type_12"); string_values_ = new us.ihmc.idl.IDLSequence.StringBuilderHolder (100, "type_d"); }
public BoundedArrayPrimitives() { bool_values_ = new us.ihmc.idl.IDLSequence.Boolean (3, "type_7"); byte_values_ = new us.ihmc.idl.IDLSequence.Byte (3, "type_9"); char_values_ = new us.ihmc.idl.IDLSequence.Char (3, "type_8"); float32_values_ = new us.ihmc.idl.IDLSequence.Float (3, "type_5"); float64_values_ = new us.ihmc.idl.IDLSequence.Double (3, "type_6"); int8_values_ = new us.ihmc.idl.IDLSequence.Byte (3, "type_9"); uint8_values_ = new us.ihmc.idl.IDLSequence.Byte (3, "type_9"); int16_values_ = new us.ihmc.idl.IDLSequence.Short (3, "type_1"); uint16_values_ = new us.ihmc.idl.IDLSequence.Integer (3, "type_3"); int32_values_ = new us.ihmc.idl.IDLSequence.Integer (3, "type_2"); uint32_values_ = new us.ihmc.idl.IDLSequence.Long (3, "type_4"); int64_values_ = new us.ihmc.idl.IDLSequence.Long (3, "type_11"); uint64_values_ = new us.ihmc.idl.IDLSequence.Long (3, "type_12"); string_values_ = new us.ihmc.idl.IDLSequence.StringBuilderHolder (3, "type_d"); }
public MessageCollection() { sequences_ = new us.ihmc.idl.IDLSequence.Long (100, "type_4"); }
@Override public boolean equals(Object other) { if(other == null) return false; if(other == this) return true; if(!(other instanceof Int64MultiArray)) return false; Int64MultiArray otherMyClass = (Int64MultiArray) other; if (!this.layout_.equals(otherMyClass.layout_)) return false; if (!this.data_.equals(otherMyClass.data_)) return false; return true; }
public void set(Int64MultiArray other) { std_msgs.msg.dds.MultiArrayLayoutPubSubType.staticCopy(other.layout_, layout_); data_.set(other.data_); }