Package org.jfree.chart.text
Class AttributedStringUtils
- java.lang.Object
-
- org.jfree.chart.text.AttributedStringUtils
-
public class AttributedStringUtils extends java.lang.Object
Some utility methods for working withAttributedString
objects.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
AttributedStringUtils()
Private constructor prevents object creation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
equal(java.text.AttributedString s1, java.text.AttributedString s2)
Tests two attributed strings for equality.
-
-
-
Method Detail
-
equal
public static boolean equal(java.text.AttributedString s1, java.text.AttributedString s2)
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.
-
-