Package org.jfree.util
Class AttributedStringUtilities
java.lang.Object
org.jfree.util.AttributedStringUtilities
Some utility methods for working with
AttributedString
objects.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Private constructor prevents object creation. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
equal
(AttributedString s1, AttributedString s2) Tests two attributed strings for equality.
-
Constructor Details
-
AttributedStringUtilities
private AttributedStringUtilities()Private constructor prevents object creation.
-
-
Method Details
-
equal
Tests two attributed strings for equality.- Parameters:
s1
- string 1 (null
permitted).s2
- string 2 (null
permitted).- Returns:
true
ifs1
ands2
are equal or bothnull
, andfalse
otherwise.
-