Interface ReadableByteValue
- 
- All Superinterfaces:
- ReadableNumberValue<Byte>,- ReadableSimpleValue<Byte>,- ReadableTypedValue<Byte>,- ReadableValue<Byte>,- Supplier<Byte>
 - All Known Subinterfaces:
- ByteExpression,- ObservableByteValue,- ReadableByteProperty,- WritableByteProperty,- WritableByteValue
 - All Known Implementing Classes:
- ByteBinding,- ByteProperty
 
 public interface ReadableByteValue extends ReadableNumberValue<Byte> - Since:
- 1.0.0
 
- 
- 
Method SummaryAll Methods Instance Methods Default Methods Modifier and Type Method Description default BytegetSafe()default bytegetValue()default Class<Byte>getValueClass()- 
Methods inherited from interface io.github.mmm.value.observable.number.ReadableNumberValuebyteValue, doubleValue, floatValue, intValue, longValue, shortValue
 - 
Methods inherited from interface io.github.mmm.value.observable.object.ReadableSimpleValuegetAsString
 - 
Methods inherited from interface io.github.mmm.value.ReadableValueget
 
- 
 
- 
- 
- 
Method Detail- 
getValueClassdefault Class<Byte> getValueClass() - Specified by:
- getValueClassin interface- ReadableTypedValue<Byte>
- Returns:
- the Classreflecting the type ofvaluesthat can be stored by this property. Even if thevalueisnullthe property must support returning the property class.
 
 - 
getValuedefault byte getValue() - Returns:
- the current value as primitive. Will be 0if undefined.
 
 - 
getSafedefault Byte getSafe() - Specified by:
- getSafein interface- ReadableValue<Byte>
- Returns:
- the same as ReadableValue.get()but trying to avoid returningnullwhere possible. So a neutral element is returned instead ofnullfor each type supporting this (e.g. "" forString,0for any kind ofNumber,Boolean.FALSE, empty collection, etc.).
 
 
- 
 
-