public abstract class AbstractNElement extends Object implements NElement
| Constructor and Description |
|---|
AbstractNElement(NElementType type,
NElementAnnotation[] annotations,
NElementComments comments) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitofAnnotation, 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, toStringfirstNonBlank, firstNonBlank, firstNonBlank, isBlank, isBlank, isBlank, isBlank, isBlank, isNonBlankpublic AbstractNElement(NElementType type, NElementAnnotation[] annotations, NElementComments comments)
public boolean isCustomTree()
isCustomTree in interface NElementpublic NElementComments comments()
public boolean isNamedUplet()
isNamedUplet in interface NElementpublic boolean isBigDecimal()
isBigDecimal in interface NElementpublic boolean isNamedUplet(String name)
isNamedUplet in interface NElementpublic boolean isNamedObject()
isNamedObject in interface NElementpublic boolean isAnyNamedObject()
isAnyNamedObject in interface NElementpublic boolean isAnyNamedObject(String name)
isAnyNamedObject in interface NElementpublic boolean isParametrizedObject()
isParametrizedObject in interface NElementpublic boolean isNamedParametrizedObject()
isNamedParametrizedObject in interface NElementpublic boolean isNamedParametrizedObject(String name)
isNamedParametrizedObject in interface NElementpublic boolean isNamedObject(String name)
isNamedObject in interface NElementpublic boolean isAnyArray()
isAnyArray in interface NElementpublic boolean isAnyObject()
isAnyObject in interface NElementpublic boolean isListContainer()
isListContainer in interface NElementpublic NOptional<NNumberElement> asNumber()
public NOptional<NListContainerElement> asListContainer()
asListContainer in interface NElementpublic NOptional<NParametrizedContainerElement> asParametrizedContainer()
asParametrizedContainer in interface NElementpublic NOptional<NObjectElement> asParametrizedObject()
asParametrizedObject in interface NElementpublic NOptional<NObjectElement> asNamedParametrizedObject(String name)
asNamedParametrizedObject in interface NElementpublic NOptional<NNamedElement> asNamed()
public boolean isAnyMatrix()
isAnyMatrix in interface NElementpublic boolean isAnyUplet()
isAnyUplet in interface NElementpublic boolean isNamedArray()
isNamedArray in interface NElementpublic boolean isAnyNamedArray()
isAnyNamedArray in interface NElementpublic boolean isAnyNamedArray(String name)
isAnyNamedArray in interface NElementpublic boolean isParametrizedArray()
isParametrizedArray in interface NElementpublic boolean isNamedParametrizedArray()
isNamedParametrizedArray in interface NElementpublic boolean isNamedParametrizedArray(String name)
isNamedParametrizedArray in interface NElementpublic boolean isNamedMatrix()
isNamedMatrix in interface NElementpublic boolean isAnyNamedMatrix()
isAnyNamedMatrix in interface NElementpublic boolean isAnyNamedMatrix(String name)
isAnyNamedMatrix in interface NElementpublic boolean isParametrizedMatrix()
isParametrizedMatrix in interface NElementpublic boolean isAnyParametrizedMatrix()
isAnyParametrizedMatrix in interface NElementpublic boolean isAnyParametrizedMatrix(String name)
isAnyParametrizedMatrix in interface NElementpublic boolean isNamedParametrizedMatrix()
isNamedParametrizedMatrix in interface NElementpublic boolean isNamedUplet(Predicate<String> nameCondition)
isNamedUplet in interface NElementpublic boolean isNamedObject(Predicate<String> nameCondition)
isNamedObject in interface NElementpublic boolean isNamedParametrizedObject(Predicate<String> nameCondition)
isNamedParametrizedObject in interface NElementpublic boolean isNamedParametrizedMatrix(Predicate<String> nameCondition)
isNamedParametrizedMatrix in interface NElementpublic boolean isNamedParametrizedMatrix(String name)
isNamedParametrizedMatrix in interface NElementpublic List<NElement> resolveAll(String pattern)
resolveAll in interface NElementpublic NElementBuilder builder()
public List<NElementAnnotation> annotations()
annotations in interface NElementpublic List<NElementAnnotation> findAnnotations(String name)
findAnnotations in interface NElementpublic boolean isAnnotated(String name)
isAnnotated in interface NElementpublic NElementType type()
public NOptional<NPrimitiveElement> asPrimitive()
asPrimitive in interface NElementpublic NOptional<NObjectElement> asObject()
public NOptional<NElement> asElementAt(int index)
asElementAt in interface NElementpublic NOptional<NUpletElement> asUplet()
public NOptional<NMatrixElement> asMatrix()
public NOptional<NNumberElement> asInt()
public NOptional<NPairElement> asPair()
public NOptional<NStringElement> asString()
public NOptional<NCustomElement> asCustom()
public NOptional<NArrayElement> asArray()
public boolean isPrimitive()
isPrimitive in interface NElementpublic boolean isAnyString()
isAnyString in interface NElementpublic boolean isFloatingNumber()
isFloatingNumber in interface NElementpublic boolean isOrdinalNumber()
isOrdinalNumber in interface NElementpublic NOptional<NOperatorElement> asOperator()
asOperator in interface NElementpublic boolean isBinaryInfixOperator()
isBinaryInfixOperator in interface NElementpublic boolean isUnaryPrefixOperator()
isUnaryPrefixOperator in interface NElementpublic boolean isBinaryOperator()
isBinaryOperator in interface NElementpublic boolean isBinaryOperator(NElementType type)
isBinaryOperator in interface NElementpublic boolean isLeftNamedBinaryOperator(NElementType type)
isLeftNamedBinaryOperator in interface NElementpublic boolean isLeftNamedBinaryOperator(NElementType type, String name)
isLeftNamedBinaryOperator in interface NElementpublic boolean isAnyOperator()
isAnyOperator in interface NElementpublic boolean isUnaryOperator()
isUnaryOperator in interface NElementpublic boolean isDecimalNumber()
isDecimalNumber in interface NElementpublic boolean isBigNumber()
isBigNumber in interface NElementpublic boolean isComplexNumber()
isComplexNumber in interface NElementpublic boolean isTemporal()
isTemporal in interface NElementpublic boolean isLocalTemporal()
isLocalTemporal in interface NElementpublic NOptional<NNamedElement> toNamed()
public boolean isParametrized()
isParametrized in interface NElementpublic boolean isSimplePair()
isSimplePair in interface NElementpublic boolean isNamedPair()
isNamedPair in interface NElementpublic NOptional<NPairElement> asNamedPair()
asNamedPair in interface NElementpublic NOptional<NPairElement> asSimplePair()
asSimplePair in interface NElementpublic boolean isNamedPair(String name)
isNamedPair in interface NElementpublic boolean isNamedPair(Predicate<String> nameCondition)
isNamedPair in interface NElementpublic boolean isParametrizedContainer()
isParametrizedContainer in interface NElementpublic NOptional<NListContainerElement> toListContainer()
toListContainer in interface NElementpublic boolean isBlank()
isBlank in interface NElementisBlank in interface NBlankablepublic NElement describe()
describe in interface NElementDescribablepublic NOptional<NPairElement> toNamedPair()
toNamedPair in interface NElementpublic NOptional<NUpletElement> toNamedUplet()
toNamedUplet in interface NElementpublic NOptional<NObjectElement> toNamedObject()
toNamedObject in interface NElementpublic NOptional<NArrayElement> toNamedArray()
toNamedArray in interface NElementpublic NOptional<NObjectElement> toObject()
public NOptional<NArrayElement> toArray()
public NArrayElement wrapIntoArray()
wrapIntoArray in interface NElementpublic NObjectElement wrapIntoObject()
wrapIntoObject in interface NElementpublic NUpletElement wrapIntoUplet()
wrapIntoUplet in interface NElementpublic NArrayElement wrapIntoNamedArray(String name)
wrapIntoNamedArray in interface NElementpublic NObjectElement wrapIntoNamedObject(String name)
wrapIntoNamedObject in interface NElementpublic NUpletElement wrapIntoNamedUplet(String name)
wrapIntoNamedUplet in interface NElementpublic NPairElement wrapIntoNamedPair(String name)
wrapIntoNamedPair in interface NElementpublic NOptional<String> asStringValue()
asStringValue in interface NElementpublic NOptional<String> asNameValue()
asNameValue in interface NElementpublic NOptional<LocalTime> asLocalTimeValue()
asLocalTimeValue in interface NElementpublic NOptional<LocalDate> asLocalDateValue()
asLocalDateValue in interface NElementpublic NOptional<LocalDateTime> asLocalDateTimeValue()
asLocalDateTimeValue in interface NElementpublic NOptional<Double> asDoubleValue()
asDoubleValue in interface NElementpublic NOptional<Float> asFloatValue()
asFloatValue in interface NElementpublic NOptional<Long> asLongValue()
asLongValue in interface NElementpublic NOptional<Integer> asIntValue()
asIntValue in interface NElementpublic NOptional<Short> asShortValue()
asShortValue in interface NElementpublic NOptional<Byte> asByteValue()
asByteValue in interface NElementpublic NOptional<NFloatComplex> asFloatComplexValue()
asFloatComplexValue in interface NElementpublic NOptional<NDoubleComplex> asDoubleComplexValue()
asDoubleComplexValue in interface NElementpublic NOptional<NBigComplex> asBigComplexValue()
asBigComplexValue in interface NElementpublic NOptional<Instant> asInstantValue()
asInstantValue in interface NElementpublic NOptional<Character> asCharValue()
asCharValue in interface NElementpublic NOptional<Boolean> asBooleanValue()
asBooleanValue in interface NElementpublic NOptional<BigDecimal> asBigDecimalValue()
asBigDecimalValue in interface NElementpublic NOptional<BigInteger> asBigIntValue()
asBigIntValue in interface NElementpublic NOptional<Number> asNumberValue()
asNumberValue in interface NElementpublic NOptional<Temporal> asTemporalValue()
asTemporalValue in interface NElementpublic NOptional<NElement> asNumberType(NElementType elemType)
asNumberType in interface NElementpublic NElement[] transform(NElementTransform transform)
Copyright © 2025 vpc open source initiative. All rights reserved.