E
- 元素类型public interface BoundedCollection<E> extends Collection<E>
Modifier and Type | Method and Description |
---|---|
boolean |
isFull()
是否已满,如果集合已满,不允许新增元素
|
int |
maxSize()
获取集合最大允许容量
|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
Copyright © 2025. All rights reserved.