Interface BoundedCollection

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean isFull()
      Deprecated.
      Returns true if this collection is full and no new elements can be added.
      int maxSize()
      Deprecated.
      Gets the maximum size of the collection (the bound).
      • Methods inherited from interface java.util.Collection

        add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
    • Method Detail

      • isFull

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

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