eq method

bool eq(
  1. Rle other
)

Implementation

bool eq(Rle other) {
  return this.part == other.part &&
      this.pos == other.pos &&
      this.cnt == other.cnt &&
      this.max == other.max;
}