public interface ShortSet extends java.util.Set<java.lang.Short>, ShortCollection
| Modifier and Type | Method and Description |
|---|---|
default boolean |
add(java.lang.Short e)
Deprecated.
|
default boolean |
contains(java.lang.Object o)
Deprecated.
|
ShortIterator |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
default boolean |
remove(java.lang.Object o)
Deprecated.
|
boolean |
remove(short o)
A Type Specific remove function to reduce boxing/unboxing
|
default boolean |
remShort(short o)
A Type-Specific remove function that reduces (un)boxing.
|
default ShortSplititerator |
spliterator()
A Type Specific Type Splititerator to reduce boxing/unboxing
|
addAll, clear, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, size, toArray, toArrayadd, addAll, contains, containsAll, containsAny, containsAny, parallelPrimitiveStream, primitiveStream, remIf, removeAll, removeIf, retainAll, toShortArray, toShortArrayforEach, forEachShortIterator iterator()
ShortCollectioniterator in interface java.util.Collection<java.lang.Short>iterator in interface java.lang.Iterable<java.lang.Short>iterator in interface java.util.Set<java.lang.Short>iterator in interface ShortCollectioniterator in interface ShortIterableCollection.iterator()boolean remove(short o)
o - the element that should be removeddefault boolean remShort(short o)
ShortCollectionremShort in interface ShortCollectiono - the element that should be removedCollection.remove(Object)@Deprecated default boolean add(java.lang.Short e)
ShortCollectionThis default implementation delegates to the corresponding type-specific function.
add in interface java.util.Collection<java.lang.Short>add in interface java.util.Set<java.lang.Short>add in interface ShortCollection@Deprecated default boolean contains(java.lang.Object o)
ShortCollectionThis default implementation delegates to the corresponding type-specific function.
contains in interface java.util.Collection<java.lang.Short>contains in interface java.util.Set<java.lang.Short>contains in interface ShortCollection@Deprecated default boolean remove(java.lang.Object o)
ShortCollectionThis default implementation delegates to the corresponding type-specific function.
remove in interface java.util.Collection<java.lang.Short>remove in interface java.util.Set<java.lang.Short>remove in interface ShortCollectiondefault ShortSplititerator spliterator()
spliterator in interface java.util.Collection<java.lang.Short>spliterator in interface java.lang.Iterable<java.lang.Short>spliterator in interface java.util.Set<java.lang.Short>spliterator in interface ShortCollectionspliterator in interface ShortIterable