public interface IntSet extends java.util.Set<java.lang.Integer>, IntCollection
| Modifier and Type | Method and Description |
|---|---|
default boolean |
add(java.lang.Integer e)
Deprecated.
|
default boolean |
contains(java.lang.Object o)
Deprecated.
|
IntIterator |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
default boolean |
remInt(int o)
A Type-Specific remove function that reduces (un)boxing.
|
boolean |
remove(int o)
A Type Specific remove function to reduce boxing/unboxing
|
default boolean |
remove(java.lang.Object o)
Deprecated.
|
default IntSplititerator |
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, toIntArray, toIntArrayforEach, forEachIntIterator iterator()
IntCollectioniterator in interface java.util.Collection<java.lang.Integer>iterator in interface IntCollectioniterator in interface IntIterableiterator in interface java.lang.Iterable<java.lang.Integer>iterator in interface java.util.Set<java.lang.Integer>Collection.iterator()boolean remove(int o)
o - the element that should be removeddefault boolean remInt(int o)
IntCollectionremInt in interface IntCollectiono - the element that should be removedCollection.remove(Object)@Deprecated default boolean add(java.lang.Integer e)
IntCollectionThis default implementation delegates to the corresponding type-specific function.
add in interface java.util.Collection<java.lang.Integer>add in interface IntCollectionadd in interface java.util.Set<java.lang.Integer>@Deprecated default boolean contains(java.lang.Object o)
IntCollectionThis default implementation delegates to the corresponding type-specific function.
contains in interface java.util.Collection<java.lang.Integer>contains in interface IntCollectioncontains in interface java.util.Set<java.lang.Integer>@Deprecated default boolean remove(java.lang.Object o)
IntCollectionThis default implementation delegates to the corresponding type-specific function.
remove in interface java.util.Collection<java.lang.Integer>remove in interface IntCollectionremove in interface java.util.Set<java.lang.Integer>default IntSplititerator spliterator()
spliterator in interface java.util.Collection<java.lang.Integer>spliterator in interface IntCollectionspliterator in interface IntIterablespliterator in interface java.lang.Iterable<java.lang.Integer>spliterator in interface java.util.Set<java.lang.Integer>