boolean (CharSequence left, CharSequence right) { if (left == right) return true; if (left instanceof ImmutableCharSequence && right instanceof ImmutableCharSequence) { return left.equals(right); } return left.toString().equals(right.toString()); }