Example #1
0
 @Override
 public boolean equals(Object o) {
   if (this == o) return true;
   if (o == null || getClass() != o.getClass()) return false;
   Buffer buffer1 = (Buffer) o;
   return buffer.equals(buffer1.buffer);
 }
Example #2
0
 @Override
 public boolean equals(Object obj) {
   return buf.equals(obj);
 }
 @Override
 public boolean equals(Object var1) {
   return a.equals(var1);
 }