public interface LongSet extends LongCollection, Set<Long>
Set specialization with long elements.LongSetFactory| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Long e)
Deprecated.
Use specialization
LongCollection.add(long) instead |
add, contains, contains, cursor, forEach, forEachWhile, iterator, remove, removeIf, removeLong, toArray, toArray, toArray, toLongArrayclear, ensureCapacity, isEmpty, shrink, size, sizeAsLong@Deprecated boolean add(@Nonnull Long e)
LongCollection.add(long) insteadLongCollection.add(Long).add in interface Collection<Long>add in interface LongCollectionadd in interface Set<Long>e - element whose presence in this collection is to be ensured