org.jfree.util
Class AttributedStringUtilities
java.lang.Object
org.jfree.util.AttributedStringUtilities
Some utility methods for working with AttributedString
objects.
static boolean | equal(AttributedString s1, AttributedString s2) - Tests two attributed strings for equality.
|
equal
public static boolean equal(AttributedString s1,
AttributedString s2)
Tests two attributed strings for equality.
s1
- string 1 (null
permitted).s2
- string 2 (null
permitted).
true
if s1
and s2
are
equal or both null
, and false
otherwise.