public class TsonComment extends Object implements Comparable<TsonComment>
| Constructor and Description |
|---|
TsonComment(TsonCommentType type,
String text) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TsonComment o) |
boolean |
equals(Object o) |
int |
hashCode() |
static TsonComment |
of(String text) |
static TsonComment |
ofMultiLine(String text) |
static TsonComment |
ofSingleLine(String text) |
String |
text() |
TsonCommentType |
type() |
public TsonComment(TsonCommentType type, String text)
public static TsonComment of(String text)
public static TsonComment ofMultiLine(String text)
public static TsonComment ofSingleLine(String text)
public TsonCommentType type()
public String text()
public int compareTo(TsonComment o)
compareTo in interface Comparable<TsonComment>Copyright © 2024 vpc open source initiative. All rights reserved.