@Override
 public int compareTo(ByteBuf var1) {
   return a.compareTo(var1);
 }
Esempio n. 2
0
 @Override
 public int compareTo(ByteBuf buffer) {
   return buf.compareTo(buffer);
 }
Esempio n. 3
0
 private static void validatePublishPayload(ByteBuf expected, ByteBuf actual) {
   assertEquals("PublishPayload mismatch ", 0, expected.compareTo(actual));
 }