Data |
The returned value will also give the number of Keys held by this DataSpecs, since each DataSpec object has a unique key.
Assuming you didn't create this DataSpecs object using custom keys (option 2 of the "keys" options presented in the DataSpecs class remarks), then the number returned by this method may be smaller than the number of DataSpec objects that you passed into the constructor. This is because, when keys are being assigned and managed internally (the normal usage scenario), the constructors filter out duplicate DataSpec objects (as explained in the section on uniquness in the DataSpecs class remarks).