public class DefaultNPrimitiveElement extends AbstractNElement implements net.thevpc.nuts.elem.NPrimitiveElement
| Constructor and Description |
|---|
DefaultNPrimitiveElement(net.thevpc.nuts.elem.NElementType type,
Object value,
net.thevpc.nuts.elem.NElementAnnotation[] annotations,
net.thevpc.nuts.elem.NElementComments comments) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.util.NOptional<BigDecimal> |
asBigDecimalValue() |
net.thevpc.nuts.util.NOptional<BigInteger> |
asBigIntValue() |
net.thevpc.nuts.util.NLiteral |
asLiteral() |
net.thevpc.nuts.util.NOptional<Temporal> |
asTemporalValue() |
net.thevpc.nuts.elem.NPrimitiveElementBuilder |
builder() |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isBlank() |
boolean |
isEmpty() |
List<net.thevpc.nuts.elem.NElement> |
resolveAll(String pattern) |
String |
toString() |
String |
toString(boolean compact) |
Object |
value() |
_expected, annotations, asArray, asBigComplexValue, asBooleanValue, asByteValue, asCharValue, asCustom, asDoubleComplexValue, asDoubleValue, asElementAt, asFloatComplexValue, asFloatValue, asInstantValue, asInt, asIntValue, asListContainer, asLocalDateTimeValue, asLocalDateValue, asLocalTimeValue, asLongValue, asMatrix, asNamed, asNamedParametrizedObject, asNameValue, asNumber, asNumberType, asNumberValue, asObject, asOperator, asPair, asParametrizedContainer, asParametrizedObject, asPrimitive, asShortValue, asString, asStringValue, asUplet, comments, describe, findAnnotations, isAnnotated, isAnyArray, isAnyDate, isAnyMatrix, isAnyNamedArray, isAnyNamedArray, isAnyNamedMatrix, isAnyNamedMatrix, isAnyNamedObject, isAnyNamedObject, isAnyObject, isAnyOperator, isAnyParametrizedMatrix, isAnyParametrizedMatrix, isAnyString, isAnyUplet, isArray, isBigDecimal, isBigInt, isBigNumber, isBinaryInfixOperator, isBinaryOperator, isBoolean, isByte, isComplexNumber, isCustom, isCustomTree, isDecimalNumber, isDouble, isFloat, isFloatingNumber, isInstant, isInt, isListContainer, isLocalTemporal, isLong, isName, isName, isName, isNamed, isNamed, isNamed, isNamedArray, isNamedMatrix, isNamedObject, isNamedObject, isNamedObject, isNamedPair, isNamedPair, isNamedPair, isNamedParametrizedArray, isNamedParametrizedArray, isNamedParametrizedMatrix, isNamedParametrizedMatrix, isNamedParametrizedMatrix, isNamedParametrizedObject, isNamedParametrizedObject, isNamedParametrizedObject, isNamedUplet, isNamedUplet, isNamedUplet, isNull, isNumber, isObject, isOrdinalNumber, isPair, isParametrized, isParametrizedArray, isParametrizedContainer, isParametrizedMatrix, isParametrizedObject, isPrimitive, isShort, isSimplePair, isStream, isString, isTemporal, isUnaryOperator, isUnaryPrefixOperator, isUplet, resolve, snippet, snippet, toArray, toListContainer, toNamed, toNamedArray, toNamedObject, toNamedPair, toNamedUplet, toObject, transform, type, wrapIntoArray, wrapIntoNamedArray, wrapIntoNamedObject, wrapIntoNamedPair, wrapIntoNamedUplet, wrapIntoObject, wrapIntoUpletclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotations, asArray, asBigComplexValue, asBooleanValue, asByteValue, asCharValue, asCustom, asDoubleComplexValue, asDoubleValue, asElementAt, asFloatComplexValue, asFloatValue, asInstantValue, asInt, asIntValue, asListContainer, asLocalDateTimeValue, asLocalDateValue, asLocalTimeValue, asLongValue, asMatrix, asNamed, asNamedParametrizedObject, asNameValue, asNumber, asNumberType, asNumberValue, asObject, asOperator, asPair, asParametrizedContainer, asParametrizedObject, asPrimitive, asShortValue, asString, asStringValue, asUplet, comments, findAnnotations, isAnnotated, isAnyArray, isAnyDate, isAnyMatrix, isAnyNamedArray, isAnyNamedArray, isAnyNamedMatrix, isAnyNamedMatrix, isAnyNamedObject, isAnyNamedObject, isAnyObject, isAnyOperator, isAnyParametrizedMatrix, isAnyParametrizedMatrix, isAnyString, isAnyUplet, isArray, isBigDecimal, isBigInt, isBigNumber, isBinaryInfixOperator, isBinaryOperator, isBoolean, isByte, isComplexNumber, isCustom, isCustomTree, isDecimalNumber, isDouble, isFloat, isFloatingNumber, isInstant, isInt, isListContainer, isLocalTemporal, isLong, isName, isName, isName, isNamed, isNamed, isNamed, isNamedArray, isNamedMatrix, isNamedObject, isNamedObject, isNamedObject, isNamedPair, isNamedPair, isNamedPair, isNamedParametrizedArray, isNamedParametrizedArray, isNamedParametrizedMatrix, isNamedParametrizedMatrix, isNamedParametrizedMatrix, isNamedParametrizedObject, isNamedParametrizedObject, isNamedParametrizedObject, isNamedUplet, isNamedUplet, isNamedUplet, isNull, isNumber, isObject, isOrdinalNumber, isPair, isParametrized, isParametrizedArray, isParametrizedContainer, isParametrizedMatrix, isParametrizedObject, isPrimitive, isShort, isSimplePair, isStream, isString, isTemporal, isUnaryOperator, isUnaryPrefixOperator, isUplet, ofAnnotation, ofAnnotation, ofArray, ofArray, ofArray, ofArray, ofArrayBuilder, ofArrayBuilder, ofBigComplex, ofBigComplex, ofBigDecimal, ofBigDecimal, ofBigInt, ofBigInt, ofBigInt, ofBigInt, ofBinaryStream, ofBinaryStreamBuilder, ofBoolean, ofBoolean, ofBooleanArray, ofBooleanArray, ofByte, ofByte, ofByte, ofByte, ofByte, ofByte, ofByte, ofByte, ofChar, ofCharStream, ofCharStreamBuilder, ofComments, ofCustom, ofDouble, ofDouble, ofDouble, ofDouble, ofDoubleArray, ofDoubleArray, ofDoubleComplex, ofDoubleComplex, ofEnum, ofFalse, ofFloat, ofFloat, ofFloat, ofFloat, ofFloatComplex, ofFloatComplex, ofInstant, ofInstant, ofInstant, ofInt, ofInt, ofInt, ofInt, ofInt, ofInt, ofInt, ofInt, ofIntArray, ofIntArray, ofLocalDate, ofLocalDateTime, ofLocalTime, ofLong, ofLong, ofLong, ofLong, ofLong, ofLong, ofLong, ofLong, ofLongArray, ofLongArray, ofMatrixBuilder, ofMultiLineComment, ofMultiLineComments, ofName, ofNamedArray, ofNamedObject, ofNamedParametrizedArray, ofNamedParametrizedObject, ofNamedUplet, ofNameOrString, ofNull, ofNumber, ofNumber, ofNumberArray, ofObject, ofObject, ofObject, ofObject, ofObjectBuilder, ofObjectBuilder, ofOp, ofOp, ofOp, ofOpBuilder, ofOpBuilder, ofOpBuilder, ofOpBuilder, ofOpBuilder, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPairBuilder, ofPairBuilder, ofParametrizedArray, ofParametrizedArray, ofParametrizedArray, ofParametrizedArray, ofParametrizedObject, ofParametrizedObject, ofParametrizedObject, ofParametrizedObject, ofPrimitiveBuilder, ofRegex, ofShort, ofShort, ofShort, ofShort, ofShort, ofShort, ofShort, ofShort, ofSingleLineComment, ofSingleLineComments, ofString, ofString, ofStringArray, ofTrue, ofUplet, ofUplet, ofUplet, ofUpletBuilder, ofUpletBuilder, resolve, snippet, snippet, toArray, toListContainer, toNamed, toNamedArray, toNamedObject, toNamedPair, toNamedUplet, toObject, transform, type, wrapIntoArray, wrapIntoNamedArray, wrapIntoNamedObject, wrapIntoNamedPair, wrapIntoNamedUplet, wrapIntoObject, wrapIntoUpletpublic DefaultNPrimitiveElement(net.thevpc.nuts.elem.NElementType type,
Object value,
net.thevpc.nuts.elem.NElementAnnotation[] annotations,
net.thevpc.nuts.elem.NElementComments comments)
public List<net.thevpc.nuts.elem.NElement> resolveAll(String pattern)
resolveAll in interface net.thevpc.nuts.elem.NElementresolveAll in class AbstractNElementpublic Object value()
value in interface net.thevpc.nuts.elem.NPrimitiveElementpublic boolean isEmpty()
isEmpty in interface net.thevpc.nuts.elem.NElementisEmpty in class AbstractNElementpublic boolean isBlank()
isBlank in interface net.thevpc.nuts.elem.NElementisBlank in interface net.thevpc.nuts.util.NBlankableisBlank in class AbstractNElementpublic net.thevpc.nuts.util.NOptional<BigInteger> asBigIntValue()
asBigIntValue in interface net.thevpc.nuts.elem.NElementasBigIntValue in class AbstractNElementpublic net.thevpc.nuts.util.NOptional<BigDecimal> asBigDecimalValue()
asBigDecimalValue in interface net.thevpc.nuts.elem.NElementasBigDecimalValue in class AbstractNElementpublic String toString(boolean compact)
toString in interface net.thevpc.nuts.elem.NElementpublic boolean equals(Object o)
equals in class AbstractNElementpublic int hashCode()
hashCode in class AbstractNElementpublic net.thevpc.nuts.elem.NPrimitiveElementBuilder builder()
builder in interface net.thevpc.nuts.elem.NElementbuilder in interface net.thevpc.nuts.elem.NPrimitiveElementbuilder in class AbstractNElementpublic net.thevpc.nuts.util.NLiteral asLiteral()
asLiteral in interface net.thevpc.nuts.elem.NElementasLiteral in class AbstractNElementpublic net.thevpc.nuts.util.NOptional<Temporal> asTemporalValue()
asTemporalValue in interface net.thevpc.nuts.elem.NElementasTemporalValue in class AbstractNElementCopyright © 2025 vpc open source initiative. All rights reserved.