public interface CharSet extends CharCollection, Set<Character>
Set
specialization with char
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.
CharSetFactory
,
@KolobokeSet
Modifier and Type | Method and Description |
---|---|
boolean |
add(Character e)
Deprecated.
Use specialization
CharCollection.add(char) instead |
CharIterator |
iterator()
Deprecated.
Instead of explicit
iterator() calls, use CharCollection.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, removeChar, removeIf, removeIf, toArray, toArray, toArray, toCharArray
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 Character e)
CharCollection.add(char)
insteadadd
in interface CharCollection
add
in interface Collection<Character>
add
in interface Set<Character>
@Deprecated @Nonnull CharIterator iterator()
iterator()
calls, use CharCollection.cursor()
;
iterator()
is still sensible only as a backing mechanism for Java 5's for-each
statements.iterator
in interface CharCollection
iterator
in interface Collection<Character>
iterator
in interface Iterable<Character>
iterator
in interface Set<Character>