net.openhft.collect.set
Interface LongSet

All Superinterfaces:
Collection<Long>, Container, Iterable<Long>, LongCollection, Set<Long>
All Known Subinterfaces:
HashLongSet

public interface LongSet
extends LongCollection, Set<Long>

A Set specialization with long elements.

See Also:
LongSetFactory

Method Summary
 boolean add(Long e)
          Deprecated. 
 
Methods inherited from interface net.openhft.collect.LongCollection
add, contains, contains, cursor, forEach, forEachWhile, iterator, remove, removeIf, removeLong, toArray, toArray, toArray, toLongArray
 
Methods inherited from interface net.openhft.collect.Container
clear, ensureCapacity, isEmpty, shrink, size, sizeAsLong
 
Methods inherited from interface java.util.Set
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

add

@Deprecated
boolean add(@Nonnull
                       Long e)
Deprecated. 

Need to override this method, because Set.add(Object) -- erasure! -- conflicts with LongCollection.add(Long)

Specified by:
add in interface Collection<Long>
Specified by:
add in interface LongCollection
Specified by:
add in interface Set<Long>