Class TsonComments
java.lang.Object
net.thevpc.tson.TsonComments
- All Implemented Interfaces:
Comparable<TsonComments>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLeading(TsonComment other) addLeading(TsonComment... other) addTrailing(TsonComment other) addTrailing(TsonComment... other) intconcat(TsonComments other) static TsonCommentsconcat(TsonComments a, TsonComments b) booleaninthashCode()booleanisEmpty()static TsonCommentsstatic TsonComments
-
Field Details
-
BLANK
-
-
Constructor Details
-
TsonComments
public TsonComments() -
TsonComments
-
-
Method Details
-
concat
-
ofMultiLine
-
ofSingleLine
-
concat
-
addLeading
-
addTrailing
-
addLeading
-
addTrailing
-
getComments
-
trailingComments
-
leadingComments
-
equals
-
hashCode
-
isEmpty
public boolean isEmpty() -
compareTo
- Specified by:
compareToin interfaceComparable<TsonComments>
-