public interface LongSet extends LongCollection, Set<Long>
Set specialization with long 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.
LongSetFactory,
@KolobokeSet| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Long e)
Deprecated.
Use specialization
LongCollection.add(long) instead |
LongIterator |
iterator()
Deprecated.
Instead of explicit
iterator() calls, use LongCollection.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, removeLong, toArray, toArray, toArray, toLongArrayclear, ensureCapacity, isEmpty, shrink, size, sizeAsLongaddAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, spliterator, toArray, toArrayparallelStream, stream@Deprecated boolean add(@Nonnull Long e)
LongCollection.add(long) insteadadd in interface Collection<Long>add in interface LongCollectionadd in interface Set<Long>@Deprecated @Nonnull LongIterator iterator()
iterator() calls, use LongCollection.cursor();
iterator() is still sensible only as a backing mechanism for Java 5's for-each
statements.iterator in interface Collection<Long>iterator in interface Iterable<Long>iterator in interface LongCollectioniterator in interface Set<Long>