public interface IntSet extends IntCollection, Set<Integer>
Set
specialization with int
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.
IntSetFactory
,
@KolobokeSet
Modifier and Type | Method and Description |
---|---|
boolean |
add(Integer e)
Deprecated.
Use specialization
IntCollection.add(int) instead |
IntIterator |
iterator()
Deprecated.
Instead of explicit
iterator() calls, use IntCollection.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, removeInt, toArray, toArray, toArray, toIntArray
clear, ensureCapacity, isEmpty, shrink, size, sizeAsLong
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, spliterator, toArray, toArray
parallelStream, stream
@Deprecated boolean add(@Nonnull Integer e)
IntCollection.add(int)
insteadadd
in interface Collection<Integer>
add
in interface IntCollection
add
in interface Set<Integer>
@Deprecated @Nonnull IntIterator iterator()
iterator()
calls, use IntCollection.cursor()
;
iterator()
is still sensible only as a backing mechanism for Java 5's for-each
statements.iterator
in interface Collection<Integer>
iterator
in interface IntCollection
iterator
in interface Iterable<Integer>
iterator
in interface Set<Integer>