21 package org.opensplice.dds.core.policy;
23 import java.util.Arrays;
30 private static final long serialVersionUID = -5108639314694283781L;
31 private final byte[] value;
35 this.value =
new byte[0];
42 this.value = value.clone();
44 this.value =
new byte[0];
50 if (this.value == null) {
53 return this.value.clone();
67 public boolean equals(Object other) {
71 return Arrays.equals(this.value, ((GroupDataImpl) other).value);
79 for (byte b : this.value) {
80 result = prime * result + b;
byte [] getValue()
Get a copy of the data.
OsplServiceEnvironment environment
GroupData withValue(byte[] value, int offset, int length)
boolean equals(Object other)
GroupDataImpl(OsplServiceEnvironment environment, byte[] value)
User data not known by the middleware, but distributed by means of built-in topics.
This class is the abstract root for all the QoS policies.
Class<? extends QosPolicy > getPolicyClass()
GroupDataImpl(OsplServiceEnvironment environment)