public class NElementAsLiteral extends Object implements net.thevpc.nuts.util.NLiteral
| Constructor and Description |
|---|
NElementAsLiteral(AbstractNElement elem) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.math.NBigComplex> |
asBigComplex() |
net.thevpc.nuts.util.NOptional<BigDecimal> |
asBigDecimal() |
net.thevpc.nuts.util.NOptional<BigInteger> |
asBigInt() |
net.thevpc.nuts.util.NOptional<Boolean> |
asBoolean() |
net.thevpc.nuts.util.NOptional<Byte> |
asByte() |
net.thevpc.nuts.util.NOptional<Character> |
asChar() |
net.thevpc.nuts.util.NOptional<Double> |
asDouble() |
net.thevpc.nuts.util.NOptional<Double> |
asDoubleAt(int index) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.math.NDoubleComplex> |
asDoubleComplex() |
net.thevpc.nuts.util.NOptional<Float> |
asFloat() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.math.NFloatComplex> |
asFloatComplex() |
net.thevpc.nuts.util.NOptional<Instant> |
asInstant() |
net.thevpc.nuts.util.NOptional<Integer> |
asInt() |
net.thevpc.nuts.util.NOptional<Integer> |
asIntAt(int index) |
net.thevpc.nuts.util.NLiteral |
asLiteralAt(int index) |
net.thevpc.nuts.util.NOptional<LocalDate> |
asLocalDate() |
net.thevpc.nuts.util.NOptional<LocalDateTime> |
asLocalDateTime() |
net.thevpc.nuts.util.NOptional<LocalTime> |
asLocalTime() |
net.thevpc.nuts.util.NOptional<Long> |
asLong() |
net.thevpc.nuts.util.NOptional<Long> |
asLongAt(int index) |
net.thevpc.nuts.util.NOptional<Number> |
asNumber() |
net.thevpc.nuts.util.NOptional<Object> |
asObject() |
net.thevpc.nuts.util.NOptional<Object> |
asObjectAt(int index) |
net.thevpc.nuts.util.NOptional<Short> |
asShort() |
net.thevpc.nuts.util.NOptional<String> |
asString() |
net.thevpc.nuts.util.NOptional<String> |
asStringAt(int index) |
<ET> net.thevpc.nuts.util.NOptional<ET> |
asType(Class<ET> expectedType) |
<ET> net.thevpc.nuts.util.NOptional<ET> |
asType(Type expectedType) |
boolean |
isBigDecimal() |
boolean |
isBigInt() |
boolean |
isBigNumber() |
boolean |
isBlank() |
boolean |
isBoolean() |
boolean |
isByte() |
boolean |
isComplexNumber() |
boolean |
isDecimalNumber() |
boolean |
isDouble() |
boolean |
isEmpty() |
boolean |
isFloat() |
boolean |
isFloatingNumber() |
boolean |
isInstant() |
boolean |
isInt() |
boolean |
isLocalTemporal() |
boolean |
isLong() |
boolean |
isNull() |
boolean |
isNullAt(int index) |
boolean |
isNumber() |
boolean |
isOrdinalNumber() |
boolean |
isShort() |
boolean |
isStream() |
boolean |
isString() |
boolean |
isSupportedType(Class<?> type) |
boolean |
isTemporal() |
String |
toStringLiteral() |
public NElementAsLiteral(AbstractNElement elem)
public net.thevpc.nuts.util.NOptional<String> asStringAt(int index)
asStringAt in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<Long> asLongAt(int index)
asLongAt in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<Integer> asIntAt(int index)
asIntAt in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<Double> asDoubleAt(int index)
asDoubleAt in interface net.thevpc.nuts.util.NLiteralpublic boolean isNullAt(int index)
isNullAt in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NLiteral asLiteralAt(int index)
asLiteralAt in interface net.thevpc.nuts.util.NLiteralpublic String toStringLiteral()
toStringLiteral in interface net.thevpc.nuts.util.NLiteralpublic <ET> net.thevpc.nuts.util.NOptional<ET> asType(Class<ET> expectedType)
asType in interface net.thevpc.nuts.util.NLiteralpublic <ET> net.thevpc.nuts.util.NOptional<ET> asType(Type expectedType)
asType in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<Object> asObject()
asObject in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<Boolean> asBoolean()
asBoolean in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<Byte> asByte()
asByte in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<Double> asDouble()
asDouble in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<Float> asFloat()
asFloat in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<Instant> asInstant()
asInstant in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<LocalDate> asLocalDate()
asLocalDate in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<LocalDateTime> asLocalDateTime()
asLocalDateTime in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<LocalTime> asLocalTime()
asLocalTime in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.math.NBigComplex> asBigComplex()
asBigComplex in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.math.NDoubleComplex> asDoubleComplex()
asDoubleComplex in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.math.NFloatComplex> asFloatComplex()
asFloatComplex in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<Integer> asInt()
asInt in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<Long> asLong()
asLong in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<Short> asShort()
asShort in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<Character> asChar()
asChar in interface net.thevpc.nuts.util.NLiteralpublic boolean isSupportedType(Class<?> type)
isSupportedType in interface net.thevpc.nuts.util.NLiteralpublic boolean isInstant()
isInstant in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<String> asString()
asString in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<Number> asNumber()
asNumber in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<BigInteger> asBigInt()
asBigInt in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<BigDecimal> asBigDecimal()
asBigDecimal in interface net.thevpc.nuts.util.NLiteralpublic boolean isBigDecimal()
isBigDecimal in interface net.thevpc.nuts.util.NLiteralpublic boolean isBigInt()
isBigInt in interface net.thevpc.nuts.util.NLiteralpublic boolean isNull()
isNull in interface net.thevpc.nuts.util.NLiteralpublic boolean isString()
isString in interface net.thevpc.nuts.util.NLiteralpublic boolean isByte()
isByte in interface net.thevpc.nuts.util.NLiteralpublic boolean isInt()
isInt in interface net.thevpc.nuts.util.NLiteralpublic boolean isLong()
isLong in interface net.thevpc.nuts.util.NLiteralpublic boolean isShort()
isShort in interface net.thevpc.nuts.util.NLiteralpublic boolean isFloat()
isFloat in interface net.thevpc.nuts.util.NLiteralpublic boolean isDouble()
isDouble in interface net.thevpc.nuts.util.NLiteralpublic boolean isBoolean()
isBoolean in interface net.thevpc.nuts.util.NLiteralpublic boolean isDecimalNumber()
isDecimalNumber in interface net.thevpc.nuts.util.NLiteralpublic boolean isBigNumber()
isBigNumber in interface net.thevpc.nuts.util.NLiteralpublic boolean isComplexNumber()
isComplexNumber in interface net.thevpc.nuts.util.NLiteralpublic boolean isTemporal()
isTemporal in interface net.thevpc.nuts.util.NLiteralpublic boolean isLocalTemporal()
isLocalTemporal in interface net.thevpc.nuts.util.NLiteralpublic boolean isStream()
isStream in interface net.thevpc.nuts.util.NLiteralpublic boolean isNumber()
isNumber in interface net.thevpc.nuts.util.NLiteralpublic boolean isFloatingNumber()
isFloatingNumber in interface net.thevpc.nuts.util.NLiteralpublic boolean isOrdinalNumber()
isOrdinalNumber in interface net.thevpc.nuts.util.NLiteralpublic net.thevpc.nuts.util.NOptional<Object> asObjectAt(int index)
asObjectAt in interface net.thevpc.nuts.util.NLiteralpublic boolean isEmpty()
isEmpty in interface net.thevpc.nuts.util.NLiteralpublic boolean isBlank()
isBlank in interface net.thevpc.nuts.util.NBlankableisBlank in interface net.thevpc.nuts.util.NLiteralCopyright © 2025 vpc open source initiative. All rights reserved.