Interface IntCollection
- All Superinterfaces:
Collection<Integer>
,CollectionExt<Integer>
,Iterable<Integer>
- All Known Subinterfaces:
IntList
- All Known Implementing Classes:
IntArrayList
- Author:
- Sebastian Thomschke
-
Method Summary
Modifier and TypeMethodDescriptionboolean
add
(int value) boolean
addAll
(int... values) boolean
contains
(int value) boolean
containsAll
(int... values) void
forEach
(IntConsumer consumer) boolean
removeIf
(IntPredicate filter) default boolean
Deprecated.Integer[]
toArray()
Deprecated.UsetoValueArray()
int[]
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, retainAll, size, spliterator, stream, toArray, toArray
Methods inherited from interface net.sf.jstuff.core.collection.ext.CollectionExt
addAll, addAll, addAll, addAll, addAll, addAll, containsIdentical, isNotEmpty, removeIfNot
-
Method Details
-
add
boolean add(int value) -
addAll
boolean addAll(int... values) -
contains
boolean contains(int value) -
containsAll
boolean containsAll(int... values) -
forEach
-
removeIf
-
removeIf
Deprecated.- Specified by:
removeIf
in interfaceCollection<Integer>
-
toArray
Deprecated.UsetoValueArray()
- Specified by:
toArray
in interfaceCollection<Integer>
-
toValueArray
int[] toValueArray()
-
removeIf(IntPredicate)