public class DefaultNUpletElement extends AbstractNListContainerElement implements NUpletElement
| Constructor and Description |
|---|
DefaultNUpletElement(String name,
List<NElement> params,
List<NBoundAffix> affixes,
List<NElementDiagnostic> diagnostics,
NElementMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
NUpletElementBuilder |
builder() |
List<NElement> |
children() |
boolean |
equals(Object o) |
NOptional<NElement> |
get(int index) |
NOptional<NElement> |
get(NElement key) |
NOptional<NElement> |
get(String s) |
List<NElement> |
getAll(NElement s) |
List<NElement> |
getAll(String s) |
NOptional<NElement> |
getAt(int index) |
int |
hashCode() |
boolean |
isBlank() |
boolean |
isEmpty() |
boolean |
isNamed() |
boolean |
isNamed(String name) |
Iterator<NElement> |
iterator() |
NOptional<String> |
name() |
List<NElement> |
params() |
List<NElement> |
resolveAll(String pattern) |
int |
size() |
Stream<NElement> |
stream() |
protected NTreeVisitResult |
traverseChildren(NElementVisitor visitor) |
getArray, getArray, getArray, getArrayByPath, getBigDecimalValue, getBigIntValue, getBooleanValue, getBooleanValue, getBooleanValue, getBooleanValueByPath, getByPath, getByteValue, getByteValue, getByteValue, getByteValueByPath, getDoubleValue, getDoubleValue, getDoubleValue, getDoubleValueByPath, getFloatValue, getFloatValue, getFloatValue, getFloatValueByPath, getInstantValue, getInstantValue, getInstantValue, getInstantValueByPath, getIntValue, getIntValue, getIntValue, getIntValueByPath, getListContainer, getListContainer, getListContainerByPath, getLocalDateTimeValue, getLocalDateTimeValue, getLocalDateTimeValue, getLocalDateTimeValueByPath, getLocalDateValue, getLocalDateValue, getLocalDateValue, getLocalDateValueByPath, getLocalTimeValue, getLocalTimeValue, getLocalTimeValue, getLocalTimeValueByPath, getLongValue, getLongValue, getLongValue, getLongValueByPath, getNumber, getNumber, getObject, getObject, getObject, getObjectByPath, getShortValue, getShortValue, getShortValue, getShortValueByPath, getStringValue, getStringValue, getStringValue, getStringValueByPath, paramsOrChildren, streamParamsOrChildren_expected, affixes, annotations, anyMatches, asArray, asBigComplexValue, asBigDecimalValue, asBigIntValue, asBinaryInfixOperator, asBinaryOperator, asBinaryOperator, asBinaryStream, asBooleanValue, asByteValue, asCharStream, asCharValue, asCustom, asDoubleComplexValue, asDoubleValue, asElementAt, asFlatExpression, asFloatComplexValue, asFloatValue, asFragment, asFullArray, asFullObject, asInstantValue, asInt, asIntValue, asList, asListContainer, asListOrParametrizedContainer, asLiteral, asLocalDateTimeValue, asLocalDateValue, asLocalTimeValue, asLongValue, asName, asNamed, asNamedArray, asNamedObject, asNamedPair, asNamedPair, asNameValue, asNaryOperator, asNumber, asNumberType, asNumberValue, asObject, asOperator, asOperatorSymbol, asOperatorSymbol, asOrderedList, asPair, asParametrizedContainer, asParamObject, asPrimitive, asShortValue, asSimplePair, asString, asStringValue, asTemporalValue, asTernaryOperator, asUnaryOperator, asUnaryOperator, asUnaryPostfixOperator, asUnaryPrefixOperator, asUnorderedList, asUplet, comments, describe, diagnostics, filter, filter, findAnnotations, format, isAnnotated, isAnyArray, isAnyDate, isAnyNamedArray, isAnyNamedArray, isAnyNamedListContainer, isAnyNamedListContainer, isAnyNamedObject, isAnyNamedObject, isAnyObject, isAnyOperator, isAnyString, isAnyStringOrName, isAnyUplet, isArray, isBigDecimal, isBigInt, isBigNumber, isBinaryInfixOperator, isBinaryInfixOperator, isBinaryOperator, isBinaryOperator, isBinaryStream, isBoolean, isByte, isCharStream, isComplexNumber, isCustom, isCustomTree, isDecimalNumber, isDouble, isErrorTree, isFlatExpression, isFloat, isFloatingNumber, isFragment, isFullArray, isFullArray, isFullObject, isFullObject, isFullObject, isInstant, isInt, isLeftNamedBinaryOperator, isLeftNamedBinaryOperator, isList, isListContainer, isListOrParametrizedContainer, isLocalTemporal, isLong, isName, isName, isName, isNamed, isNamedArray, isNamedArray, isNamedListContainer, isNamedListContainer, isNamedObject, isNamedObject, isNamedObject, isNamedPair, isNamedPair, isNamedPair, isNamedUplet, isNamedUplet, isNamedUplet, isNull, isNumber, isObject, isOperatorSymbol, isOperatorSymbol, isOrderedList, isOrdinalNumber, isPair, isParamArray, isParametrized, isParametrizedContainer, isParamObject, isPrimitive, isShort, isSimplePair, isStream, isString, isTemporal, isUnaryOperator, isUnaryOperator, isUnaryPostfixOperator, isUnaryPrefixOperator, isUnaryPrefixOperator, isUnorderedList, isUplet, metadata, resolve, snippet, snippet, toArray, toCompactString, toFormattedString, toFormattedString, toListContainer, toMany, toName, toNamed, toNamedArray, toNamedObject, toNamedPair, toNamedUplet, toObject, toPrettyString, toStableString, toString, toVerbatimString, transform, transform, traverse, traverseList, treeDiagnostics, type, wrapIntoArray, wrapIntoNamedArray, wrapIntoNamedObject, wrapIntoNamedPair, wrapIntoNamedUplet, wrapIntoObject, wrapIntoUpletclone, finalize, getClass, notify, notifyAll, wait, wait, waitofEmptygetArray, getArray, getArray, getArrayByPath, getBigDecimalValue, getBigIntValue, getBooleanValue, getBooleanValue, getBooleanValue, getBooleanValueByPath, getByPath, getByteValue, getByteValue, getByteValue, getByteValueByPath, getDoubleValue, getDoubleValue, getDoubleValue, getDoubleValueByPath, getFloatValue, getFloatValue, getFloatValue, getFloatValueByPath, getInstantValue, getInstantValue, getInstantValue, getInstantValueByPath, getIntValue, getIntValue, getIntValue, getIntValueByPath, getListContainer, getListContainer, getListContainerByPath, getLocalDateTimeValue, getLocalDateTimeValue, getLocalDateTimeValue, getLocalDateTimeValueByPath, getLocalDateValue, getLocalDateValue, getLocalDateValue, getLocalDateValueByPath, getLocalTimeValue, getLocalTimeValue, getLocalTimeValue, getLocalTimeValueByPath, getLongValue, getLongValue, getLongValue, getLongValueByPath, getNumber, getNumber, getObject, getObject, getObject, getObjectByPath, getShortValue, getShortValue, getShortValue, getShortValueByPath, getStringValue, getStringValue, getStringValue, getStringValueByPathparamsOrChildren, streamParamsOrChildrenaffixes, annotations, anyMatches, asArray, asBigComplexValue, asBigDecimalValue, asBigIntValue, asBinaryInfixOperator, asBinaryOperator, asBinaryOperator, asBinaryStream, asBooleanValue, asByteValue, asCharStream, asCharValue, asCustom, asDoubleComplexValue, asDoubleValue, asElementAt, asFlatExpression, asFloatComplexValue, asFloatValue, asFragment, asFullArray, asFullObject, asInstantValue, asInt, asIntValue, asList, asListContainer, asListOrParametrizedContainer, asLiteral, asLocalDateTimeValue, asLocalDateValue, asLocalTimeValue, asLongValue, asName, asNamed, asNamedArray, asNamedObject, asNamedPair, asNamedPair, asNameValue, asNaryOperator, asNumber, asNumberType, asNumberValue, asObject, asOperator, asOperatorSymbol, asOperatorSymbol, asOrderedList, asPair, asParametrizedContainer, asParamObject, asPrimitive, asShortValue, asSimplePair, asString, asStringValue, asTemporalValue, asTernaryOperator, asUnaryOperator, asUnaryOperator, asUnaryPostfixOperator, asUnaryPrefixOperator, asUnorderedList, asUplet, comments, diagnostics, filter, filter, findAnnotations, format, isAnnotated, isAnyArray, isAnyDate, isAnyNamedArray, isAnyNamedArray, isAnyNamedListContainer, isAnyNamedListContainer, isAnyNamedObject, isAnyNamedObject, isAnyObject, isAnyOperator, isAnyString, isAnyStringOrName, isAnyUplet, isArray, isBigDecimal, isBigInt, isBigNumber, isBinaryInfixOperator, isBinaryInfixOperator, isBinaryOperator, isBinaryOperator, isBinaryStream, isBoolean, isByte, isCharStream, isComplexNumber, isCustom, isCustomTree, isDecimalNumber, isDouble, isErrorTree, isFlatExpression, isFloat, isFloatingNumber, isFragment, isFullArray, isFullArray, isFullObject, isFullObject, isFullObject, isInstant, isInt, isLeftNamedBinaryOperator, isLeftNamedBinaryOperator, isList, isListContainer, isListOrParametrizedContainer, isLocalTemporal, isLong, isName, isName, isName, isNamed, isNamedArray, isNamedArray, isNamedListContainer, isNamedListContainer, isNamedObject, isNamedObject, isNamedObject, isNamedPair, isNamedPair, isNamedPair, isNamedUplet, isNamedUplet, isNamedUplet, isNull, isNumber, isObject, isOperatorSymbol, isOperatorSymbol, isOrderedList, isOrdinalNumber, isPair, isParamArray, isParametrized, isParametrizedContainer, isParamObject, isPrimitive, isShort, isSimplePair, isStream, isString, isTemporal, isUnaryOperator, isUnaryOperator, isUnaryPostfixOperator, isUnaryPrefixOperator, isUnaryPrefixOperator, isUnorderedList, isUplet, metadata, ofArray, ofArray, ofArray, ofArray, ofArrayBuilder, ofArrayBuilder, ofBigComplex, ofBigComplex, ofBigComplex, ofBigDecimal, ofBigDecimal, ofBigInt, ofBigInt, ofBigInt, ofBigInt, ofBinaryInfixOperator, ofBinaryStream, ofBinaryStream, ofBinaryStreamBuilder, ofBlocComment, ofBlocComment, ofBoolean, ofBoolean, ofBooleanArray, ofBooleanArray, ofByte, ofByte, ofByte, ofByte, ofByte, ofByte, ofByte, ofByte, ofByteArray, ofByteArray, ofChar, ofCharStream, ofCharStream, ofCharStreamBuilder, ofCustom, ofDiagnosticBuilder, ofDouble, ofDouble, ofDouble, ofDouble, ofDoubleArray, ofDoubleArray, ofDoubleComplex, ofDoubleComplex, ofDoubleComplex, ofEmptyBuilder, ofEnum, ofEnumArray, ofExprBuilder, ofExprBuilder, ofExprBuilder, ofExprBuilder, ofExprBuilder, ofFalse, ofFlatExprBuilder, ofFloat, ofFloat, ofFloat, ofFloat, ofFloatArray, ofFloatArray, ofFloatComplex, ofFloatComplex, ofFloatComplex, ofFragment, ofFragment, ofFragmentBuilder, ofFullArray, ofFullObject, ofInstant, ofInstant, ofInstant, ofInt, ofInt, ofInt, ofInt, ofInt, ofInt, ofInt, ofInt, ofIntArray, ofIntArray, ofLineComment, ofLineComment, ofLocalDate, ofLocalDateTime, ofLocalTime, ofLong, ofLong, ofLong, ofLong, ofLong, ofLong, ofLong, ofLong, ofLongArray, ofLongArray, ofName, ofNamedArray, ofNamedObject, ofNamedUplet, ofNameOrString, ofNull, ofNumber, ofNumber, ofNumber, ofNumberArray, ofObject, ofObject, ofObject, ofObject, ofObjectBuilder, ofObjectBuilder, ofOperatorSymbol, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPairBuilder, ofPairBuilder, ofParamArray, ofParamArray, ofParamArray, ofParamArray, ofParamObject, ofParamObject, ofParamObject, ofParamObject, ofPrimitiveBuilder, ofShort, ofShort, ofShort, ofShort, ofShort, ofShort, ofShort, ofShort, ofShortArray, ofShortArray, ofString, ofString, ofStringArray, ofTrue, ofUnaryPrefixOperator, ofUplet, ofUplet, ofUplet, ofUpletBuilder, ofUpletBuilder, resolve, snippet, snippet, toArray, toCompactString, toFormattedString, toFormattedString, toListContainer, toMany, toName, toNamed, toNamedArray, toNamedObject, toNamedPair, toNamedUplet, toObject, toPrettyString, toStableString, toString, toVerbatimString, transform, transform, transformOptional, traverse, treeDiagnostics, type, wrapIntoArray, wrapIntoNamedArray, wrapIntoNamedObject, wrapIntoNamedPair, wrapIntoNamedUplet, wrapIntoObject, wrapIntoUpletdescribefirstNonBlank, firstNonBlank, firstNonBlank, firstNonBlankLazy, firstNonBlankLazy, isBlank, isBlank, isBlank, isBlank, isBlank, isNonBlankforEach, spliteratorpublic DefaultNUpletElement(String name, List<NElement> params, List<NBoundAffix> affixes, List<NElementDiagnostic> diagnostics, NElementMetadata metadata)
protected NTreeVisitResult traverseChildren(NElementVisitor visitor)
traverseChildren in class AbstractNElementpublic List<NElement> resolveAll(String pattern)
resolveAll in interface NElementresolveAll in class AbstractNElementpublic boolean isNamed(String name)
isNamed in interface NElementisNamed in class AbstractNElementpublic NOptional<String> name()
name in interface NNamedElementpublic boolean isNamed()
isNamed in interface NElementisNamed in class AbstractNElementpublic List<NElement> params()
params in interface NUpletElementpublic List<NElement> children()
children in interface NListContainerElementpublic int size()
size in interface NListContainerElementpublic Stream<NElement> stream()
stream in interface NUpletElementpublic NOptional<NElement> get(int index)
get in interface NListContainerElementpublic NOptional<NElement> getAt(int index)
getAt in interface NListContainerElementpublic NUpletElementBuilder builder()
builder in interface NElementbuilder in interface NUpletElementpublic boolean equals(Object o)
equals in class AbstractNElementpublic int hashCode()
hashCode in class AbstractNElementpublic boolean isEmpty()
isEmpty in interface NElementisEmpty in class AbstractNElementpublic boolean isBlank()
isBlank in interface NElementisBlank in interface NBlankableisBlank in class AbstractNElementpublic NOptional<NElement> get(String s)
get in interface NListContainerElementpublic List<NElement> getAll(String s)
getAll in interface NListContainerElementpublic NOptional<NElement> get(NElement key)
get in interface NListContainerElementpublic List<NElement> getAll(NElement s)
getAll in interface NListContainerElementCopyright © 2026 vpc open source initiative. All rights reserved.