public class DefaultNArrayElement extends AbstractNListContainerElement implements NArrayElement
| Constructor and Description |
|---|
DefaultNArrayElement(String name,
List<NElement> params,
List<NElement> values) |
DefaultNArrayElement(String name,
List<NElement> params,
List<NElement> values,
List<NBoundAffix> affixes,
List<NElementDiagnostic> diagnostics,
NElementMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
NArrayElementBuilder |
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) |
boolean |
isParametrized() |
Iterator<NElement> |
iterator() |
NOptional<String> |
name() |
NElement |
param(int index) |
NOptional<NElement> |
param(String name) |
NOptional<List<NElement>> |
params() |
int |
paramsCount() |
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, 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, waitofEmpty, paramsOrChildrengetArray, 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, getStringValueByPathstreamParamsOrChildrenforEach, spliteratorpublic DefaultNArrayElement(String name, List<NElement> params, List<NElement> values)
public DefaultNArrayElement(String name, List<NElement> params, List<NElement> values, List<NBoundAffix> affixes, List<NElementDiagnostic> diagnostics, NElementMetadata metadata)
protected NTreeVisitResult traverseChildren(NElementVisitor visitor)
traverseChildren in class AbstractNElementpublic boolean isNamed(String name)
isNamed in interface NElementisNamed in class AbstractNElementpublic List<NElement> children()
children in interface NListContainerElementpublic int size()
size in interface NListContainerElementpublic Stream<NElement> stream()
stream in interface NArrayElementpublic NOptional<NElement> get(int index)
get in interface NListContainerElementpublic NOptional<NElement> getAt(int index)
getAt in interface NListContainerElementpublic NArrayElementBuilder builder()
builder in interface NArrayElementbuilder in interface NElementpublic 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 NOptional<String> name()
name in interface NNamedElementpublic boolean isNamed()
isNamed in interface NElementisNamed in class AbstractNElementpublic boolean isParametrized()
isParametrized in interface NElementisParametrized in interface NParametrizedContainerElementisParametrized in class AbstractNElementpublic NOptional<List<NElement>> params()
params in interface NParametrizedContainerElementpublic NOptional<NElement> param(String name)
param in interface NParametrizedContainerElementpublic int paramsCount()
paramsCount in interface NParametrizedContainerElementpublic NElement param(int index)
param in interface NParametrizedContainerElementpublic List<NElement> resolveAll(String pattern)
resolveAll in interface NElementresolveAll in class AbstractNElementCopyright © 2026 vpc open source initiative. All rights reserved.