public class DefaultNTupleElement extends AbstractNListContainerElement implements NTupleElement
| Constructor and Description |
|---|
DefaultNTupleElement(String name,
List<NElement> params,
List<NBoundAffix> affixes,
List<NElementDiagnostic> diagnostics,
NElementMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
NTupleElementBuilder |
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<NPairElement> |
namedPairs() |
List<NPairElement> |
pairs() |
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, asTuple, asUnaryOperator, asUnaryOperator, asUnaryPostfixOperator, asUnaryPrefixOperator, asUnorderedList, comments, convertTo, describe, diagnostics, filter, filter, findAnnotations, format, isAnnotated, isAnyArray, isAnyDate, isAnyExpr, isAnyNamedArray, isAnyNamedArray, isAnyNamedListContainer, isAnyNamedListContainer, isAnyNamedObject, isAnyNamedObject, isAnyObject, isAnyOperator, isAnyString, isAnyStringOrName, isAnyTuple, 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, isNamedTuple, isNamedTuple, isNamedTuple, isNull, isNumber, isObject, isOperatorSymbol, isOperatorSymbol, isOrderedList, isOrdinalNumber, isPair, isParamArray, isParametrized, isParametrizedContainer, isParamObject, isPrimitive, isShort, isSimplePair, isStream, isString, isTemporal, isTuple, isUnaryOperator, isUnaryOperator, isUnaryPostfixOperator, isUnaryPrefixOperator, isUnaryPrefixOperator, isUnorderedList, metadata, normalize, resolve, snippet, snippet, toArray, toCompactString, toFormattedString, toFormattedString, toListContainer, toMany, toName, toNamed, toNamedArray, toNamedObject, toNamedPair, toNamedTuple, toObject, toPrettyString, toStableString, toString, toVerbatimString, transform, transform, traverse, traverseList, treeDiagnostics, type, wrapIntoArray, wrapIntoNamedArray, wrapIntoNamedObject, wrapIntoNamedPair, wrapIntoNamedTuple, wrapIntoObject, wrapIntoTupleclone, 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, asTuple, asUnaryOperator, asUnaryOperator, asUnaryPostfixOperator, asUnaryPrefixOperator, asUnorderedList, comments, convertAny, convertTo, diagnostics, doWithMapperStore, filter, filter, findAnnotations, format, isAnnotated, isAnyArray, isAnyDate, isAnyExpr, isAnyNamedArray, isAnyNamedArray, isAnyNamedListContainer, isAnyNamedListContainer, isAnyNamedObject, isAnyNamedObject, isAnyObject, isAnyOperator, isAnyString, isAnyStringOrName, isAnyTuple, 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, isNamedTuple, isNamedTuple, isNamedTuple, isNull, isNumber, isObject, isOperatorSymbol, isOperatorSymbol, isOrderedList, isOrdinalNumber, isPair, isParamArray, isParametrized, isParametrizedContainer, isParamObject, isPrimitive, isShort, isSimplePair, isStream, isString, isTemporal, isTuple, isUnaryOperator, isUnaryOperator, isUnaryPostfixOperator, isUnaryPrefixOperator, isUnaryPrefixOperator, isUnorderedList, metadata, normalize, of, 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, ofCharArray, ofCharArray, 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, ofNamedTuple, 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, ofTuple, ofTuple, ofTuple, ofTupleBuilder, ofTupleBuilder, ofUnaryPrefixOperator, resolve, simpleOf, snippet, snippet, toArray, toCompactString, toFormattedString, toFormattedString, toListContainer, toMany, toName, toNamed, toNamedArray, toNamedObject, toNamedPair, toNamedTuple, toObject, toPrettyString, toStableString, toString, toVerbatimString, transform, transform, transformOptional, traverse, treeDiagnostics, type, wrapIntoArray, wrapIntoNamedArray, wrapIntoNamedObject, wrapIntoNamedPair, wrapIntoNamedTuple, wrapIntoObject, wrapIntoTupledescribefirstNonBlank, firstNonBlank, firstNonBlank, firstNonBlankLazy, firstNonBlankLazy, isBlank, isBlank, isBlank, isBlank, isBlank, isNonBlankforEach, spliteratorpublic DefaultNTupleElement(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 NTupleElementpublic List<NElement> children()
children in interface NListContainerElementpublic int size()
size in interface NListContainerElementpublic Stream<NElement> stream()
stream in interface NTupleElementpublic NOptional<NElement> get(int index)
get in interface NListContainerElementpublic NOptional<NElement> getAt(int index)
getAt in interface NListContainerElementpublic NTupleElementBuilder builder()
builder in interface NElementbuilder in interface NTupleElementpublic 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 NListContainerElementpublic List<NPairElement> pairs()
pairs in interface NListContainerElementpublic List<NPairElement> namedPairs()
namedPairs in interface NListContainerElementCopyright © 2026 vpc open source initiative. All rights reserved.