public class NElementCommentImpl extends Object implements NElementComment
| Constructor and Description |
|---|
NElementCommentImpl(NElementCommentType type,
String... texts) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(NElementComment o) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isBlank() |
static NElementComment |
of(String text) |
static NElementCommentImpl |
ofMultiLine(String... text) |
static NElementCommentImpl |
ofSingleLine(String... text) |
String |
text() |
String |
toString()
this is a comment
|
NElementCommentType |
type() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitfirstNonBlank, firstNonBlank, firstNonBlank, isBlank, isBlank, isBlank, isBlank, isBlank, isNonBlankpublic NElementCommentImpl(NElementCommentType type, String... texts)
public static NElementComment of(String text)
public static NElementCommentImpl ofMultiLine(String... text)
public static NElementCommentImpl ofSingleLine(String... text)
public boolean isBlank()
isBlank in interface NBlankablepublic NElementCommentType type()
type in interface NElementCommentpublic String text()
text in interface NElementCommentpublic int compareTo(NElementComment o)
compareTo in interface Comparable<NElementComment>Copyright © 2025 vpc open source initiative. All rights reserved.