Package org.jfree.util
Class AttributedStringUtilities
- java.lang.Object
-
- org.jfree.util.AttributedStringUtilities
-
public class AttributedStringUtilities extends java.lang.Object
Some utility methods for working withAttributedStringobjects.- Author:
- David Gilbert
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanequal(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 (nullpermitted).s2- string 2 (nullpermitted).- Returns:
trueifs1ands2are equal or bothnull, andfalseotherwise.
-
-