public interface ShortSet extends ShortCollection, Set<Short>
Set
specialization with short
elements.ShortSetFactory
Modifier and Type | Method and Description |
---|---|
boolean |
add(Short e)
Deprecated.
Use specialization
ShortCollection.add(short) instead |
add, contains, contains, cursor, forEach, forEachWhile, iterator, remove, removeIf, removeShort, toArray, toArray, toArray, toShortArray
clear, ensureCapacity, isEmpty, shrink, size, sizeAsLong
@Deprecated boolean add(@Nonnull Short e)
ShortCollection.add(short)
insteadShortCollection.add(Short)
.add
in interface Collection<Short>
add
in interface Set<Short>
add
in interface ShortCollection
e
- element whose presence in this collection is to be ensured