code: protected boolean internalEquals(ValueData another)
     {
        if (another instanceof StreamValueData)
        {
           StreamValueData streamValue = (StreamValueData)another;
  
           if (isByteArray())
           {
              return another.isByteArray() && Arrays.equals(streamValue.data, data);
           }
           else
           {
              if (stream != null && stream == streamValue.stream)
              {
                 return true;
              }
              else if (spoolFile != null && spoolFile.equals(streamValue.spoolFile))
              {
                 return true;
              }
           }
        }
  
        return false;
     }
docs: {@inheritDoc}