Class AttributeView.Singleton<V>

Type Parameters:
V - the type of attribute values. If the attribute supports multi-occurrences, then this is the type of elements (not the collection type).
All Implemented Interfaces:
Serializable
Enclosing class:
AttributeView<V>

private static final class AttributeView.Singleton<V> extends AttributeView<V>
Specialization of AttributeView when the amount of values can be only zero or one. This implementation takes shortcuts for the getValue() and getValues() methods. This specialization is provided because it is the most common case.