BBjString::contentEquals
Description
In BBj 7.0 and higher, this method compares this string to the specified CharSequence or StringBuffer. The result is true if and only if this String represents the same sequence of char values as the specified sequence. Note that if the CharSequence is a StringBuffer then the method synchronizes on it.
Syntax
Return Value |
Method |
---|---|
boolean |
contentEquals(CharSequence cs) |
boolean |
contentEquals(StringBuffer sb) |
Parameters
Variable |
Description |
---|---|
cs |
The CharSequence to compare this String against. |
sb |
The StringBuffer to compare this String against. |
Return Value
Returns true if this String represents the same sequence of char values as the specified sequence, false otherwise.
Remarks
None.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.