Compares this string to the specified StringBuffer. The result
is true if and only if this String represents the same
sequence of characters as the specified StringBuffer.
sb
| The StringBuffer to compare this String against |
true if this String represents the same
sequence of characters as the specified StringBuffer,
false otherwise
Diagram: String