public abstract class AbstractCharCollection extends java.util.AbstractCollection<java.lang.Character> implements CharCollection
| Constructor and Description |
|---|
AbstractCharCollection() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(java.lang.Character e)
Deprecated.
Please use the corresponding type-specific function instead.
|
boolean |
addAll(CharCollection c)
A Type-Specific addAll function to reduce (un)boxing
|
boolean |
addAll(java.util.Collection<? extends java.lang.Character> c)
Deprecated.
Please use the corresponding type-specific function instead.
|
boolean |
contains(char e)
A Type-Specific implementation of contains.
|
boolean |
contains(java.lang.Object e)
Deprecated.
Please use the corresponding type-specific function instead.
|
boolean |
containsAll(CharCollection c)
A Type-Specific implementation of containsAll.
|
boolean |
containsAll(java.util.Collection<?> c) |
boolean |
containsAny(CharCollection c)
This implementation iterates over the elements of the collection and checks if they are stored in this collection.
|
boolean |
containsAny(java.util.Collection<?> c)
Deprecated.
|
CharCollection |
copy()
A Function that does a shallow clone of the Collection itself.
|
abstract CharIterator |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
boolean |
remChar(char e)
A Type-Specific implementation of remove.
|
boolean |
remove(java.lang.Object e)
Deprecated.
Please use the corresponding type-specific function instead.
|
boolean |
removeAll(CharCollection c)
A Type-Specific implementation of removeAll.
|
boolean |
removeAll(CharCollection c,
CharConsumer r)
A Type-Specific removeAll function that reduces (un)boxing.
|
boolean |
retainAll(CharCollection c)
A Type-Specific implementation of retainAll.
|
boolean |
retainAll(CharCollection c,
CharConsumer r)
A Type-Specific retainAll function that reduces (un)boxing.
|
char[] |
toCharArray()
A Type-Specific implementation of toArray that links to
toCharArray(char[]) with a newly created array. |
char[] |
toCharArray(char[] a)
A Type-Specific implementation of toArray.
|
clear, isEmpty, removeAll, retainAll, size, toArray, toArray, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, addAll, addAll, addAll, parallelPrimitiveStream, pour, primitiveStream, remIf, removeIf, spliterator, synchronize, synchronize, unmodifiableclear, equals, hashCode, isEmpty, parallelStream, removeAll, retainAll, size, stream, toArray, toArrayarrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEach, forEach, limit, map, matchesAll, matchesAny, matchesNone, peek, pourAsList, pourAsSet, reduce, reduce, sortedpublic abstract CharIterator iterator()
CharCollectioniterator in interface java.lang.Iterable<java.lang.Character>iterator in interface java.util.Collection<java.lang.Character>iterator in interface CharCollectioniterator in interface CharIterableiterator in class java.util.AbstractCollection<java.lang.Character>Collection.iterator()@Deprecated public boolean add(java.lang.Character e)
This default implementation delegates to the corresponding type-specific function.
This default implementation delegates to the corresponding type-specific function.
add in interface java.util.Collection<java.lang.Character>add in interface CharCollectionadd in class java.util.AbstractCollection<java.lang.Character>public boolean addAll(CharCollection c)
CharCollectionaddAll in interface CharCollectionc - the collection of elements that should be addedpublic CharCollection copy()
CharCollectioncopy in interface CharCollection@Deprecated public boolean contains(java.lang.Object e)
This default implementation delegates to the corresponding type-specific function.
This default implementation delegates to the corresponding type-specific function.
contains in interface java.util.Collection<java.lang.Character>contains in interface CharCollectioncontains in class java.util.AbstractCollection<java.lang.Character>public boolean contains(char e)
contains in interface CharCollectione - the element that should be searched for.@Deprecated public boolean addAll(java.util.Collection<? extends java.lang.Character> c)
This default implementation delegates to the corresponding type-specific function.
addAll in interface java.util.Collection<java.lang.Character>addAll in class java.util.AbstractCollection<java.lang.Character>public boolean containsAll(CharCollection c)
containsAll in interface CharCollectionc - the collection that should be checked if it contains all elements.java.lang.NullPointerException - if the collection is nullpublic boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<java.lang.Character>containsAll in class java.util.AbstractCollection<java.lang.Character>@Deprecated public boolean containsAny(java.util.Collection<?> c)
containsAny in interface CharCollectionc - the elements that should be checked forjava.lang.NullPointerException - if the collection is nullpublic boolean containsAny(CharCollection c)
containsAny in interface CharCollectionc - the elements that should be checked forjava.lang.NullPointerException - if the collection is null@Deprecated public boolean remove(java.lang.Object e)
This default implementation delegates to the corresponding type-specific function.
This default implementation delegates to the corresponding type-specific function.
remove in interface java.util.Collection<java.lang.Character>remove in interface CharCollectionremove in class java.util.AbstractCollection<java.lang.Character>public boolean remChar(char e)
remChar in interface CharCollectione - the element that is searched forCollection.remove(Object)public boolean removeAll(CharCollection c)
removeAll in interface CharCollectionc - the elements that should be deletedjava.lang.NullPointerException - if the collection is nullCollection.removeAll(Collection)public boolean removeAll(CharCollection c, CharConsumer r)
CharCollectionremoveAll in interface CharCollectionc - the collection of elements that should be removedr - elements that got removedCollection.removeAll(Collection)public boolean retainAll(CharCollection c)
retainAll in interface CharCollectionc - the elements that should be keptjava.lang.NullPointerException - if the collection is nullCollection.retainAll(Collection)public boolean retainAll(CharCollection c, CharConsumer r)
CharCollectionretainAll in interface CharCollectionc - the collection of elements that should be keptr - elements that got removedCollection.retainAll(Collection)public char[] toCharArray()
toCharArray(char[]) with a newly created array.toCharArray in interface CharCollectionCollection.toArray()public char[] toCharArray(char[] a)
toCharArray in interface CharCollectiona - array that the elements should be injected to. If null or to small a new array with the right size is createdCollection.toArray(Object[])