getHash method

int getHash()

Implementation

int getHash() {
  // Inline bitwise hash — avoids hashValues() List allocation.
  return foreground ^
      (background * 31) ^
      (flags * 0x9e3779b9) ^
      (content * 0x85ebca6b);
}