java.lang.Object
org.opendaylight.yangtools.yang.model.api.stmt.FeatureSet
All Implemented Interfaces:
Immutable

public abstract sealed class FeatureSet extends Object implements Immutable
A set of features.

The semantics of contains(QName) is a bit funky, depending on implementation:

  1. explicit implementation, returned from of(), of(Set) et al., delegates to the underlying Set's Set.contains(Object), while on the other hand
  2. sparse implementation, constructed via builder() and FeatureSet.Builder.build(), carves the features into well-known module namespaces, expressed as QNameModule for which we have an explicit enumeration of supported features. All other module namespaces are treated as if there was no specification of supported features -- e.g. all features from those namespaces are deemed to be present in the instance.