public interface ByteSet extends ByteCollection, Set<Byte>
Set
specialization with byte
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.
ByteSetFactory
,
@KolobokeSet
Modifier and Type | Method and Description |
---|---|
boolean |
add(Byte e)
Deprecated.
Use specialization
ByteCollection.add(byte) instead |
ByteIterator |
iterator()
Deprecated.
Instead of explicit
iterator() calls, use ByteCollection.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, removeByte, removeIf, removeIf, toArray, toArray, toArray, toByteArray
clear, ensureCapacity, isEmpty, shrink, size, sizeAsLong
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, spliterator, toArray, toArray
parallelStream, stream
@Deprecated boolean add(@Nonnull Byte e)
ByteCollection.add(byte)
insteadadd
in interface ByteCollection
add
in interface Collection<Byte>
add
in interface Set<Byte>
@Deprecated @Nonnull ByteIterator iterator()
iterator()
calls, use ByteCollection.cursor()
;
iterator()
is still sensible only as a backing mechanism for Java 5's for-each
statements.iterator
in interface ByteCollection
iterator
in interface Collection<Byte>
iterator
in interface Iterable<Byte>
iterator
in interface Set<Byte>