net.openhft.collect.set
Interface ShortSet

All Superinterfaces:
Collection<Short>, Container, Iterable<Short>, Set<Short>, ShortCollection
All Known Subinterfaces:
HashShortSet

public interface ShortSet
extends ShortCollection, Set<Short>

A Set specialization with short elements.

See Also:
ShortSetFactory

Method Summary
 boolean add(Short e)
          Deprecated. 
 
Methods inherited from interface net.openhft.collect.ShortCollection
add, contains, contains, cursor, forEach, forEachWhile, iterator, remove, removeIf, removeShort, toArray, toArray, toArray, toShortArray
 
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
                       Short e)
Deprecated. 

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

Specified by:
add in interface Collection<Short>
Specified by:
add in interface Set<Short>
Specified by:
add in interface ShortCollection