public class AttributedStringUtilities extends java.lang.Object
AttributedString
objects.Modifier and Type | Method and Description |
---|---|
static boolean |
equal(java.text.AttributedString s1,
java.text.AttributedString s2)
Tests two attributed strings for equality.
|
public static boolean equal(java.text.AttributedString s1, java.text.AttributedString s2)
s1
- string 1 (null
permitted).s2
- string 2 (null
permitted).true
if s1
and s2
are
equal or both null
, and false
otherwise.