Interface ReadableBigIntegerValue
-
- All Superinterfaces:
ReadableNumberValue<BigInteger>
,ReadableSimpleValue<BigInteger>
,ReadableTypedValue<BigInteger>
,ReadableValue<BigInteger>
,Supplier<BigInteger>
- All Known Subinterfaces:
BigIntegerExpression
,ObservableBigIntegerValue
,ReadableBigIntegerProperty
,WritableBigIntegerProperty
,WritableBigIntegerValue
- All Known Implementing Classes:
BigIntegerBinding
,BigIntegerProperty
public interface ReadableBigIntegerValue extends ReadableNumberValue<BigInteger>
- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default BigInteger
getSafe()
default Class<BigInteger>
getValueClass()
-
Methods inherited from interface io.github.mmm.value.observable.number.ReadableNumberValue
byteValue, doubleValue, floatValue, intValue, longValue, shortValue
-
Methods inherited from interface io.github.mmm.value.observable.object.ReadableSimpleValue
getAsString
-
Methods inherited from interface io.github.mmm.value.ReadableValue
get
-
-
-
-
Method Detail
-
getValueClass
default Class<BigInteger> getValueClass()
- Specified by:
getValueClass
in interfaceReadableTypedValue<BigInteger>
- Returns:
- the
Class
reflecting the type ofvalues
that can be stored by this property. Even if thevalue
isnull
the property must support returning the property class.
-
getSafe
default BigInteger getSafe()
- Specified by:
getSafe
in interfaceReadableValue<BigInteger>
- Returns:
- the same as
ReadableValue.get()
but trying to avoid returningnull
where possible. So a neutral element is returned instead ofnull
for each type supporting this (e.g. "" forString
,0
for any kind ofNumber
,Boolean.FALSE
, empty collection, etc.).
-
-