Interface ReadableSetValue<E>
- 
- Type Parameters:
 E- type of theelements.
- All Superinterfaces:
 ReadableCollectionValue<Set<E>,E>,ReadableContainerValue<Set<E>,E>,ReadableObjectValue<Set<E>>,ReadableTypedObjectValue<Set<E>>,ReadableTypedValue<Set<E>>,ReadableValue<Set<E>>,Supplier<Set<E>>
- All Known Subinterfaces:
 ObservableSetValue<E>,ReadableSetProperty<E>,WritableSetProperty<E>,WritableSetValue<E>
- All Known Implementing Classes:
 SetProperty
public interface ReadableSetValue<E> extends ReadableCollectionValue<Set<E>,E>
- Since:
 - 1.0.0
 
 
- 
- 
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Set<E>getSafe()default Class<Set<E>>getValueClass()- 
Methods inherited from interface io.github.mmm.value.observable.container.collection.ReadableCollectionValue
size 
- 
Methods inherited from interface io.github.mmm.value.observable.container.ReadableContainerValue
isEmpty 
- 
Methods inherited from interface io.github.mmm.value.observable.object.ReadableObjectValue
getValue 
- 
Methods inherited from interface io.github.mmm.value.ReadableValue
get 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getValueClass
default Class<Set<E>> getValueClass()
- Specified by:
 getValueClassin interfaceReadableTypedValue<E>- Returns:
 - the 
Classreflecting the type ofvaluesthat can be stored by this property. Even if thevalueisnullthe property must support returning the property class. 
 
- 
getSafe
default Set<E> getSafe()
- Specified by:
 getSafein interfaceReadableObjectValue<E>- Specified by:
 getSafein interfaceReadableValue<E>- 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.). 
 
 - 
 
 -