public interface ShortSet extends ShortCollection, Set<Short>
Set specialization with short elements.
Methods, declared in this interface (i. e. not inherited from the superinterfaces), are present only to remove some compile-time ambiguities, they don't have any additional meaning over the specifications from superinterfaces.
ShortSetFactory,
@KolobokeSet| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Short e)
Deprecated.
Use specialization
ShortCollection.add(short) instead |
ShortIterator |
iterator()
Deprecated.
Instead of explicit
iterator() calls, use ShortCollection.cursor();
iterator() is still sensible only as a backing mechanism for Java 5's for-each
statements. |
add, contains, contains, cursor, forEach, forEach, forEachWhile, remove, removeIf, removeIf, removeShort, toArray, toArray, toArray, toShortArrayclear, ensureCapacity, isEmpty, shrink, size, sizeAsLongaddAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, spliterator, toArray, toArrayparallelStream, stream@Deprecated boolean add(@Nonnull Short e)
ShortCollection.add(short) insteadadd in interface Collection<Short>add in interface Set<Short>add in interface ShortCollection@Deprecated @Nonnull ShortIterator iterator()
iterator() calls, use ShortCollection.cursor();
iterator() is still sensible only as a backing mechanism for Java 5's for-each
statements.iterator in interface Collection<Short>iterator in interface Iterable<Short>iterator in interface Set<Short>iterator in interface ShortCollection