نوع داده انتزاعی کانتینتر (container)
عملیات
Positive Integral
Capacity (
)
Returns the capacity of the container (Probably count of the elements the container can hold)
Boolean
ContainsValue (
Value value
)
Checks if the container contains the given value or not
Empty (
)
Remove all elements from the container
Boolean
IsEmpty (
)
Returns true if the capacity has no elements, false otherwise.
Boolean
IsFull (
)
Returns true if there is no more space to new elements, false otherwise.
Positive Integral
Size (
)
Returns the size of the elements in the container (Most likely it is the count of the elements)