net.openhft.collect.set
Interface ByteSet

All Superinterfaces:
ByteCollection, Collection<Byte>, Container, Iterable<Byte>, Set<Byte>
All Known Subinterfaces:
HashByteSet

public interface ByteSet
extends ByteCollection, Set<Byte>

A Set specialization with byte elements.

See Also:
ByteSetFactory

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

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

Specified by:
add in interface ByteCollection
Specified by:
add in interface Collection<Byte>
Specified by:
add in interface Set<Byte>