Class AbstractFormatPart
- java.lang.Object
-
- org.jboss.logging.processor.validation.AbstractFormatPart
-
- All Implemented Interfaces:
java.lang.Comparable<FormatPart>
,FormatPart
- Direct Known Subclasses:
MessageFormatPart
,StringFormatPart
,StringPart
abstract class AbstractFormatPart extends java.lang.Object implements FormatPart
Abstract class that only implements Comparable for convenience. Uses theFormatPart.position()
for the comparison. Date: 13.06.2011
-
-
Field Summary
-
Fields inherited from interface org.jboss.logging.processor.validation.FormatPart
STRING
-
-
Constructor Summary
Constructors Constructor Description AbstractFormatPart()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(FormatPart other)
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jboss.logging.processor.validation.FormatPart
index, part, position
-
-
-
-
Method Detail
-
compareTo
public int compareTo(FormatPart other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<FormatPart>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-