public class DefaultNPrimitiveElementBuilder extends AbstractNElementBuilder implements NPrimitiveElementBuilder, NLiteral
| Constructor and Description |
|---|
DefaultNPrimitiveElementBuilder() |
annotations, comments, leadingComments, trailingCommentsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitannotationscomments, leadingComments, trailingCommentsfirstNonBlank, firstNonBlank, firstNonBlank, isBlank, isBlank, isBlank, isBlank, isBlank, isNonBlankpublic NNumberLayout numberLayout()
numberLayout in interface NPrimitiveElementBuilderpublic NPrimitiveElementBuilder numberLayout(NNumberLayout numberLayout)
numberLayout in interface NPrimitiveElementBuilderpublic String numberSuffix()
numberSuffix in interface NPrimitiveElementBuilderpublic NPrimitiveElementBuilder numberSuffix(String numberSuffix)
numberSuffix in interface NPrimitiveElementBuilderpublic NPrimitiveElementBuilder value(Object value)
value in interface NPrimitiveElementBuilderpublic NPrimitiveElementBuilder setInt(int value)
setInt in interface NPrimitiveElementBuilderpublic NPrimitiveElementBuilder setByte(byte value)
setByte in interface NPrimitiveElementBuilderpublic NPrimitiveElementBuilder setDoubleComplex(NDoubleComplex value)
setDoubleComplex in interface NPrimitiveElementBuilderpublic NPrimitiveElementBuilder setFloatComplex(NFloatComplex value)
setFloatComplex in interface NPrimitiveElementBuilderpublic NPrimitiveElementBuilder setBigComplex(NBigComplex value)
setBigComplex in interface NPrimitiveElementBuilderpublic NPrimitiveElement build()
build in interface NElementBuilderbuild in interface NPrimitiveElementBuilderpublic NElementType type()
type in interface NElementBuilderpublic Object asRawObject()
asRawObject in interface NLiteralpublic Object value()
value in interface NPrimitiveElementBuilderpublic NOptional<LocalDate> asLocalDate()
asLocalDate in interface NLiteralpublic NOptional<LocalDateTime> asLocalDateTime()
asLocalDateTime in interface NLiteralpublic NOptional<LocalTime> asLocalTime()
asLocalTime in interface NLiteralpublic NOptional<NBigComplex> asBigComplex()
asBigComplex in interface NLiteralpublic NOptional<NDoubleComplex> asDoubleComplex()
asDoubleComplex in interface NLiteralpublic NOptional<NFloatComplex> asFloatComplex()
asFloatComplex in interface NLiteralpublic NOptional<BigInteger> asBigInt()
public NOptional<BigDecimal> asBigDecimal()
asBigDecimal in interface NLiteralpublic boolean isDecimalNumber()
isDecimalNumber in interface NLiteralpublic boolean isBigNumber()
isBigNumber in interface NLiteralpublic boolean isBigDecimal()
isBigDecimal in interface NLiteralpublic String toStringLiteral()
toStringLiteral in interface NLiteralpublic NOptional<String> asStringAt(int index)
asStringAt in interface NLiteralpublic NOptional<Double> asDoubleAt(int index)
asDoubleAt in interface NLiteralpublic NLiteral asLiteralAt(int index)
asLiteralAt in interface NLiteralpublic NOptional<Object> asObjectAt(int index)
asObjectAt in interface NLiteralpublic boolean isBlank()
isBlank in interface NBlankableisBlank in interface NLiteralpublic boolean isSupportedType(Class<?> type)
isSupportedType in interface NLiteralpublic NPrimitiveElementBuilder addLeadingComment(NElementCommentType type, String text)
addLeadingComment in interface NElementBuilderaddLeadingComment in interface NPrimitiveElementBuilderaddLeadingComment in class AbstractNElementBuilderpublic NPrimitiveElementBuilder addTrailingComment(NElementCommentType type, String text)
addTrailingComment in interface NElementBuilderaddTrailingComment in interface NPrimitiveElementBuilderaddTrailingComment in class AbstractNElementBuilderpublic NPrimitiveElementBuilder addLeadingComment(NElementComment comment)
addLeadingComment in interface NElementBuilderaddLeadingComment in interface NPrimitiveElementBuilderaddLeadingComment in class AbstractNElementBuilderpublic NPrimitiveElementBuilder addLeadingComments(NElementComment... comments)
addLeadingComments in interface NElementBuilderaddLeadingComments in interface NPrimitiveElementBuilderaddLeadingComments in class AbstractNElementBuilderpublic NPrimitiveElementBuilder addTrailingComment(NElementComment comment)
addTrailingComment in interface NElementBuilderaddTrailingComment in interface NPrimitiveElementBuilderaddTrailingComment in class AbstractNElementBuilderpublic NPrimitiveElementBuilder addTrailingComments(NElementComment... comments)
addTrailingComments in interface NElementBuilderaddTrailingComments in interface NPrimitiveElementBuilderaddTrailingComments in class AbstractNElementBuilderpublic NPrimitiveElementBuilder removeTrailingCommentAt(int index)
removeTrailingCommentAt in interface NElementBuilderremoveTrailingCommentAt in interface NPrimitiveElementBuilderremoveTrailingCommentAt in class AbstractNElementBuilderpublic NPrimitiveElementBuilder removeLeadingCommentAt(int index)
removeLeadingCommentAt in interface NElementBuilderremoveLeadingCommentAt in interface NPrimitiveElementBuilderremoveLeadingCommentAt in class AbstractNElementBuilderpublic NPrimitiveElementBuilder removeTrailingComment(NElementComment comment)
removeTrailingComment in interface NElementBuilderremoveTrailingComment in interface NPrimitiveElementBuilderremoveTrailingComment in class AbstractNElementBuilderpublic NPrimitiveElementBuilder removeLeadingComment(NElementComment comment)
removeLeadingComment in interface NElementBuilderremoveLeadingComment in interface NPrimitiveElementBuilderremoveLeadingComment in class AbstractNElementBuilderpublic NPrimitiveElementBuilder addComments(NElementComments comments)
addComments in interface NElementBuilderaddComments in interface NPrimitiveElementBuilderaddComments in class AbstractNElementBuilderpublic NPrimitiveElementBuilder addAnnotations(List<NElementAnnotation> annotations)
addAnnotations in interface NElementBuilderaddAnnotations in interface NPrimitiveElementBuilderaddAnnotations in class AbstractNElementBuilderpublic NPrimitiveElementBuilder addAnnotation(String name, NElement... args)
addAnnotation in interface NElementBuilderaddAnnotation in interface NPrimitiveElementBuilderaddAnnotation in class AbstractNElementBuilderpublic NPrimitiveElementBuilder addAnnotation(NElementAnnotation annotation)
addAnnotation in interface NElementBuilderaddAnnotation in interface NPrimitiveElementBuilderaddAnnotation in class AbstractNElementBuilderpublic NPrimitiveElementBuilder addAnnotationAt(int index, NElementAnnotation annotation)
addAnnotationAt in interface NElementBuilderaddAnnotationAt in interface NPrimitiveElementBuilderaddAnnotationAt in class AbstractNElementBuilderpublic NPrimitiveElementBuilder removeAnnotationAt(int index)
removeAnnotationAt in interface NElementBuilderremoveAnnotationAt in interface NPrimitiveElementBuilderremoveAnnotationAt in class AbstractNElementBuilderpublic NPrimitiveElementBuilder clearAnnotations()
clearAnnotations in interface NElementBuilderclearAnnotations in interface NPrimitiveElementBuilderclearAnnotations in class AbstractNElementBuilderpublic NPrimitiveElementBuilder clearComments()
clearComments in interface NElementBuilderclearComments in interface NPrimitiveElementBuilderclearComments in class AbstractNElementBuilderpublic boolean isComplexNumber()
isComplexNumber in interface NLiteralpublic boolean isTemporal()
isTemporal in interface NLiteralpublic boolean isLocalTemporal()
isLocalTemporal in interface NLiteralpublic NPrimitiveElementBuilder copyFrom(NPrimitiveElement element)
copyFrom in interface NPrimitiveElementBuilderpublic NPrimitiveElementBuilder copyFrom(NPrimitiveElementBuilder element)
copyFrom in interface NPrimitiveElementBuilderpublic boolean isOrdinalNumber()
isOrdinalNumber in interface NLiteralpublic boolean isFloatingNumber()
isFloatingNumber in interface NLiteralpublic NPrimitiveElementBuilder doWith(Consumer<NPrimitiveElementBuilder> con)
doWith in interface NPrimitiveElementBuilderCopyright © 2025 vpc open source initiative. All rights reserved.