- All Known Subinterfaces:
CanonicalMap,CanonicalMap.CanonicalMapBuilder,CanonicalMap.MutableCanonicalMap,ClassStructMap,ClassStructMap.ClassStructMapBuilder,ClassStructMap.MutableClassStructMap,Container<E>,Container.ClearableContainer<E>,Container.MutableContainer<E>,Dictionary<K,V>,Dictionary.MutableDictionary<K,V>,Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>,InterOperableMap<T>,InterOperableMap.InterOperableMapBuilder<T>,InterOperableMap.MutableInterOperableMap<T>,PathMap<T>,PathMap.MutablePathMap<T>,PathMap.PathMapBuilder<T>,SimpleTypeMap,SimpleTypeMap.MutableSimpleTypeMap,SimpleTypeMap.SimpleTypeMapBuilder
- All Known Implementing Classes:
CanonicalMapBuilderImpl,CanonicalMapImpl,ClassStructMapBuilderImpl,ClassStructMapImpl,PathMapBuilderImpl,PathMapImpl,SimpleTypeMapBuilderImpl,SimpleTypeMapImpl
public interface Containable
A
Containable is the base functionality provided container
(collection). The Containableit just informs about the metrics of a
container.-
Method Summary
-
Method Details
-
size
int size()Returns the number of data elements contained in the collection.- Returns:
- An integer representing the number of items stored in the accumulation.
-
isEmpty
boolean isEmpty()Tests whether the accumulation is empty or not. Returns true if the accumulation is empty, else false is returned.- Returns:
- True if no element is contained in the accumulation - else false is returned.
-