Interface BoundedCollection

    • Method Detail

      • isFull

        boolean isFull()
        Returns true if this collection is full and no new elements can be added.
        Returns:
        true if the collection is full
      • maxSize

        int maxSize()
        Gets the maximum size of the collection (the bound).
        Returns:
        the maximum number of elements the collection can hold