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