public static class CharCollections.IterableCollection extends AbstractCharCollection implements Serializable
Modifier and Type | Method and Description |
---|---|
CharIterator |
charIterator()
Deprecated.
|
boolean |
isEmpty() |
CharIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
add, add, addAll, addAll, contains, contains, containsAll, containsAll, rem, rem, remove, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toCharArray, toCharArray, toString
clear
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
clear, equals, hashCode
public int size()
size
in interface Collection<Character>
size
in class AbstractCollection<Character>
public boolean isEmpty()
isEmpty
in interface Collection<Character>
isEmpty
in class AbstractCharCollection
public CharIterator iterator()
CharCollection
Note that this specification strengthens the one given in
Iterable.iterator()
, which was already
strengthened in the corresponding type-specific class,
but was weakened by the fact that this interface extends Collection
.
iterator
in interface CharCollection
iterator
in interface CharIterable
iterator
in interface Iterable<Character>
iterator
in interface Collection<Character>
iterator
in class AbstractCharCollection
@Deprecated public CharIterator charIterator()
AbstractCharCollection
charIterator
in interface CharCollection
charIterator
in class AbstractCharCollection
CharCollection.iterator()