public class DefaultNPrimitiveElement extends AbstractNElement implements NPrimitiveElement
| Constructor and Description |
|---|
DefaultNPrimitiveElement(NElementType type,
Object value,
NElementAnnotation[] annotations,
NElementComments comments) |
| Modifier and Type | Method and Description |
|---|---|
NOptional<BigDecimal> |
asBigDecimalValue() |
NOptional<BigInteger> |
asBigIntValue() |
NLiteral |
asLiteral() |
NOptional<Temporal> |
asTemporalValue() |
NPrimitiveElementBuilder |
builder() |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isBlank() |
boolean |
isEmpty() |
List<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, asNamedPair, asNamedParametrizedObject, asNameValue, asNumber, asNumberType, asNumberValue, asObject, asOperator, asPair, asParametrizedContainer, asParametrizedObject, asPrimitive, asShortValue, asSimplePair, 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, isBinaryOperator, isBoolean, isByte, isComplexNumber, isCustom, isCustomTree, isDecimalNumber, isDouble, isFloat, isFloatingNumber, isInstant, isInt, isLeftNamedBinaryOperator, isLeftNamedBinaryOperator, 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, asNamedPair, asNamedParametrizedObject, asNameValue, asNumber, asNumberType, asNumberValue, asObject, asOperator, asPair, asParametrizedContainer, asParametrizedObject, asPrimitive, asShortValue, asSimplePair, 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, isBinaryOperator, isBoolean, isByte, isComplexNumber, isCustom, isCustomTree, isDecimalNumber, isDouble, isFloat, isFloatingNumber, isInstant, isInt, isLeftNamedBinaryOperator, isLeftNamedBinaryOperator, 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, ofByteArray, ofByteArray, ofChar, ofCharStream, ofCharStreamBuilder, ofComments, ofCustom, ofDouble, ofDouble, ofDouble, ofDouble, ofDoubleArray, ofDoubleArray, ofDoubleComplex, ofDoubleComplex, ofEnum, ofFalse, ofFloat, ofFloat, ofFloat, ofFloat, ofFloatArray, ofFloatArray, 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, ofShortArray, ofShortArray, 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, wrapIntoUpletdescribefirstNonBlank, firstNonBlank, firstNonBlank, isBlank, isBlank, isBlank, isBlank, isBlank, isNonBlankpublic DefaultNPrimitiveElement(NElementType type, Object value, NElementAnnotation[] annotations, NElementComments comments)
public List<NElement> resolveAll(String pattern)
resolveAll in interface NElementresolveAll in class AbstractNElementpublic Object value()
value in interface NPrimitiveElementpublic boolean isEmpty()
isEmpty in interface NElementisEmpty in class AbstractNElementpublic boolean isBlank()
isBlank in interface NElementisBlank in interface NBlankableisBlank in class AbstractNElementpublic NOptional<BigInteger> asBigIntValue()
asBigIntValue in interface NElementasBigIntValue in class AbstractNElementpublic NOptional<BigDecimal> asBigDecimalValue()
asBigDecimalValue in interface NElementasBigDecimalValue in class AbstractNElementpublic boolean equals(Object o)
equals in class AbstractNElementpublic int hashCode()
hashCode in class AbstractNElementpublic NPrimitiveElementBuilder builder()
builder in interface NElementbuilder in interface NPrimitiveElementbuilder in class AbstractNElementpublic NLiteral asLiteral()
asLiteral in interface NElementasLiteral in class AbstractNElementpublic NOptional<Temporal> asTemporalValue()
asTemporalValue in interface NElementasTemporalValue in class AbstractNElementCopyright © 2025 vpc open source initiative. All rights reserved.