public class DefaultNObjectElement extends AbstractNListContainerElement implements net.thevpc.nuts.elem.NObjectElement
| Constructor and Description |
|---|
DefaultNObjectElement(String name,
List<net.thevpc.nuts.elem.NElement> params,
List<net.thevpc.nuts.elem.NElement> values) |
DefaultNObjectElement(String name,
List<net.thevpc.nuts.elem.NElement> params,
List<net.thevpc.nuts.elem.NElement> values,
List<net.thevpc.nuts.elem.NBoundAffix> affixes,
List<net.thevpc.nuts.elem.NElementDiagnostic> diagnostics,
net.thevpc.nuts.elem.NElementMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.elem.NObjectElementBuilder |
builder() |
List<net.thevpc.nuts.elem.NElement> |
children() |
boolean |
equals(Object o) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> |
get(int index) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> |
get(net.thevpc.nuts.elem.NElement s) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> |
get(String s) |
List<net.thevpc.nuts.elem.NElement> |
getAll(net.thevpc.nuts.elem.NElement s) |
List<net.thevpc.nuts.elem.NElement> |
getAll(String s) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> |
getAt(int index) |
int |
hashCode() |
boolean |
isBlank() |
boolean |
isEmpty() |
boolean |
isNamed() |
boolean |
isNamed(String name) |
boolean |
isParametrized() |
Iterator<net.thevpc.nuts.elem.NElement> |
iterator() |
net.thevpc.nuts.util.NOptional<String> |
name() |
List<net.thevpc.nuts.elem.NPairElement> |
namedPairs() |
List<net.thevpc.nuts.elem.NPairElement> |
pairs() |
net.thevpc.nuts.elem.NElement |
param(int index) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> |
param(String name) |
net.thevpc.nuts.util.NOptional<List<net.thevpc.nuts.elem.NElement>> |
params() |
int |
paramsCount() |
List<net.thevpc.nuts.elem.NElement> |
resolveAll(String pattern) |
int |
size() |
Stream<net.thevpc.nuts.elem.NElement> |
stream() |
protected net.thevpc.nuts.text.NTreeVisitResult |
traverseChildren(net.thevpc.nuts.elem.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, waitgetArray, 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, streamParamsOrChildrenforEach, spliteratorpublic DefaultNObjectElement(String name, List<net.thevpc.nuts.elem.NElement> params, List<net.thevpc.nuts.elem.NElement> values)
public DefaultNObjectElement(String name, List<net.thevpc.nuts.elem.NElement> params, List<net.thevpc.nuts.elem.NElement> values, List<net.thevpc.nuts.elem.NBoundAffix> affixes, List<net.thevpc.nuts.elem.NElementDiagnostic> diagnostics, net.thevpc.nuts.elem.NElementMetadata metadata)
protected net.thevpc.nuts.text.NTreeVisitResult traverseChildren(net.thevpc.nuts.elem.NElementVisitor visitor)
traverseChildren in class AbstractNElementpublic boolean isNamed(String name)
isNamed in interface net.thevpc.nuts.elem.NElementisNamed in class AbstractNElementpublic List<net.thevpc.nuts.elem.NPairElement> pairs()
pairs in interface net.thevpc.nuts.elem.NListContainerElementpublic List<net.thevpc.nuts.elem.NPairElement> namedPairs()
namedPairs in interface net.thevpc.nuts.elem.NListContainerElementpublic Iterator<net.thevpc.nuts.elem.NElement> iterator()
public net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> get(int index)
get in interface net.thevpc.nuts.elem.NListContainerElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> getAt(int index)
getAt in interface net.thevpc.nuts.elem.NListContainerElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> get(String s)
get in interface net.thevpc.nuts.elem.NListContainerElementpublic List<net.thevpc.nuts.elem.NElement> getAll(String s)
getAll in interface net.thevpc.nuts.elem.NListContainerElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> get(net.thevpc.nuts.elem.NElement s)
get in interface net.thevpc.nuts.elem.NListContainerElementpublic List<net.thevpc.nuts.elem.NElement> getAll(net.thevpc.nuts.elem.NElement s)
getAll in interface net.thevpc.nuts.elem.NListContainerElementpublic List<net.thevpc.nuts.elem.NElement> children()
children in interface net.thevpc.nuts.elem.NListContainerElementpublic Stream<net.thevpc.nuts.elem.NElement> stream()
stream in interface net.thevpc.nuts.elem.NObjectElementpublic int size()
size in interface net.thevpc.nuts.elem.NListContainerElementpublic net.thevpc.nuts.elem.NObjectElementBuilder builder()
builder in interface net.thevpc.nuts.elem.NElementbuilder in interface net.thevpc.nuts.elem.NObjectElementpublic boolean isEmpty()
isEmpty in interface net.thevpc.nuts.elem.NElementisEmpty in class AbstractNElementpublic boolean equals(Object o)
equals in class AbstractNElementpublic int hashCode()
hashCode in class AbstractNElementpublic boolean isBlank()
isBlank in interface net.thevpc.nuts.elem.NElementisBlank in interface net.thevpc.nuts.util.NBlankableisBlank in class AbstractNElementpublic net.thevpc.nuts.util.NOptional<String> name()
name in interface net.thevpc.nuts.elem.NNamedElementpublic boolean isNamed()
isNamed in interface net.thevpc.nuts.elem.NElementisNamed in class AbstractNElementpublic boolean isParametrized()
isParametrized in interface net.thevpc.nuts.elem.NElementisParametrized in interface net.thevpc.nuts.elem.NParametrizedContainerElementisParametrized in class AbstractNElementpublic net.thevpc.nuts.util.NOptional<List<net.thevpc.nuts.elem.NElement>> params()
params in interface net.thevpc.nuts.elem.NParametrizedContainerElementpublic int paramsCount()
paramsCount in interface net.thevpc.nuts.elem.NParametrizedContainerElementpublic net.thevpc.nuts.elem.NElement param(int index)
param in interface net.thevpc.nuts.elem.NParametrizedContainerElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> param(String name)
param in interface net.thevpc.nuts.elem.NParametrizedContainerElementpublic List<net.thevpc.nuts.elem.NElement> resolveAll(String pattern)
resolveAll in interface net.thevpc.nuts.elem.NElementresolveAll in class AbstractNElementCopyright © 2026 vpc open source initiative. All rights reserved.