| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static CharAdapter | |
| public boolean | allSatisfy(CharPredicate predicate)
Implements org. Returns true if all of the elements in the CharIterable return true for the specified predicate, otherwise returns false. |
| public boolean | anySatisfy(CharPredicate predicate)
Implements org. Returns true if any of the elements in the CharIterable return true for the specified predicate, otherwise returns false. |
| public void | appendString(Appendable appendable, String start, String separator, String end)
Implements org. Prints a string representation of this collection onto the given |
| public LazyCharIterable | |
| public int | binarySearch(char value)
Implements org.
|
| public char | charAt(int index)
Implements java. Returns the |
| public CharIterator | charIterator()
Implements org. Returns a primitive iterator that can be used to iterate over the CharIterable in an imperative style. |
| public RichIterable | chunk(int size)
Overrides default org. Partitions elements in fixed size chunks. |
| public <V> ImmutableList | collect(CharToObjectFunction<? extends V> function)
Implements org. Returns a new collection with the results of applying the specified function on each element of the source collection. |
| public CharAdapter | |
| public boolean | contains(char expected)
Implements org. Returns true if the value is contained in the CharIterable, and false if it is not. |
| public int | count(CharPredicate predicate)
Implements org. Returns a count of the number of elements in the CharIterable that return true for the specified predicate. |
| public char | detectIfNone(CharPredicate predicate, char ifNone)
Implements org.
|
| public CharAdapter | |
| public long | |
| public void | each(CharProcedure procedure)
Implements org. A synonym for forEach. |
| public boolean | equals(Object otherList)
Overrides java. Implements org. Follows the same general contract as |
| public void | |
| public static CharAdapter | |
| public static CharAdapter | |
| public char | |
| public Character | |
| public char | |
| public char | |
| public int | hashCode()
Overrides java. Implements org. Follows the same general contract as |
| public int | indexOf(char value)
Implements org.
|
| public <T> T | injectInto(T injectedValue, ObjectCharToObjectFunction<? super T, ? extends T> function)
Implements org.
|
| public <T> T | injectIntoWithIndex(T injectedValue, ObjectCharIntToObjectFunction<? super T, ? extends T> function)
Implements org.
|
| public boolean | isEmpty()
Overrides default java. Returns |
| public int | |
| public int | |
| public char | |
| public char | |
| public CharAdapter | newWith(char element)
Implements org.
|
| public CharAdapter | |
| public CharAdapter | newWithout(char element)
Implements org.
|
| public CharAdapter | |
| public boolean | noneSatisfy(CharPredicate predicate)
Overrides default org. Returns true if none of the elements in the CharIterable return true for the specified predicate, otherwise returns false. |
| public CharAdapter | reject(CharPredicate predicate)
Implements org. Returns a new CharIterable with all of the elements in the CharIterable that return false for the specified predicate. |
| public CharAdapter | select(CharPredicate predicate)
Implements org. Returns a new CharIterable with all of the elements in the CharIterable that return true for the specified predicate. |
| public int | size()
Implements org. Returns the number of items in this iterable. |
| public ImmutableCharList | subList(int fromIndex, int toIndex)
Implements org.
|
| public String | subSequence(int start, int end)
Implements java. Returns a |
| public long | |
| public char[] | toArray()
Implements org. Converts the CharIterable to a primitive char array. |
| public char[] | toArray(char[] target)
Overrides default org. Converts the CharIterable to a primitive char array. |
| public MutableCharBag | toBag()
Overrides org. Implements org. Converts the CharIterable to a new MutableCharBag. |
| public ImmutableCharList | toImmutable()
Implements org. Returns an immutable copy of this list. |
| public MutableCharList | toList()
Overrides org. Implements org. Converts the CharIterable to a new MutableCharList. |
| public CharAdapter | |
| public MutableCharSet | toSet()
Overrides org. Implements org. Converts the CharIterable to a new MutableCharSet. |
| public MutableCharStack | toStack()
Overrides default org. Converts the collection to a CharStack. |
| public String | toString()
Overrides org. Implements java. The value of toString must be strictly implemented as defined in CharSequence. |
| public StringBuilder | |
| public <T> ImmutableList | zip(Iterable<T> iterable)
Overrides default org. Returns an |
| public ImmutableList | zipChar(CharIterable iterable)
Overrides default org. Returns an |
| adapted | back to summary |
|---|---|
| private final String adapted | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| CharAdapter | back to summary |
|---|---|
| public CharAdapter(String value) | |
| adapt | back to summary |
|---|---|
| public static CharAdapter adapt(String value) | |
| allSatisfy | back to summary |
|---|---|
| public boolean allSatisfy(CharPredicate predicate) Implements org. Doc from org. Returns true if all of the elements in the CharIterable return true for the specified predicate, otherwise returns false.
| |
| anySatisfy | back to summary |
|---|---|
| public boolean anySatisfy(CharPredicate predicate) Implements org. Doc from org. Returns true if any of the elements in the CharIterable return true for the specified predicate, otherwise returns false.
| |
| appendString | back to summary |
|---|---|
| public void appendString(Appendable appendable, String start, String separator, String end) Implements org. Doc from org. Prints a string representation of this collection onto the given
| |
| asReversed | back to summary |
|---|---|
| public LazyCharIterable asReversed() Implements org.
| |
| binarySearch | back to summary |
|---|---|
| public int binarySearch(char value) Implements org.
| |
| charAt | back to summary |
|---|---|
| public char charAt(int index) Implements java. Doc from java. Returns the If the
| |
| charIterator | back to summary |
|---|---|
| public CharIterator charIterator() Implements org. Doc from org. Returns a primitive iterator that can be used to iterate over the CharIterable in an imperative style.
| |
| chunk | back to summary |
|---|---|
| public RichIterable Overrides default org. Doc from org. Partitions elements in fixed size chunks.
| |
| collect | back to summary |
|---|---|
| public <V> ImmutableList Implements org. Doc from org. Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.
| |
| collectChar | back to summary |
|---|---|
| public CharAdapter collectChar(CharToCharFunction function) | |
| contains | back to summary |
|---|---|
| public boolean contains(char expected) Implements org. Doc from org. Returns true if the value is contained in the CharIterable, and false if it is not.
| |
| count | back to summary |
|---|---|
| public int count(CharPredicate predicate) Implements org. Doc from org. Returns a count of the number of elements in the CharIterable that return true for the specified predicate.
| |
| detectIfNone | back to summary |
|---|---|
| public char detectIfNone(CharPredicate predicate, char ifNone) Implements org.
| |
| distinct | back to summary |
|---|---|
| public CharAdapter distinct() Implements org.
| |
| dotProduct | back to summary |
|---|---|
| public long dotProduct(CharList list) Implements org.
| |
| each | back to summary |
|---|---|
| public void each(CharProcedure procedure) Implements org. Doc from org. A synonym for forEach.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object otherList) Overrides java. Implements org. Doc from org. Follows the same general contract as
| |
| forEachWithIndex | back to summary |
|---|---|
| public void forEachWithIndex(CharIntProcedure procedure) Implements org.
| |
| from | back to summary |
|---|---|
| public static CharAdapter from(char... chars) | |
| from | back to summary |
|---|---|
| public static CharAdapter from(CharIterable iterable) | |
| get | back to summary |
|---|---|
| public char get(int index) Implements org.
| |
| getCharacter | back to summary |
|---|---|
| public Character getCharacter(int index) | |
| getFirst | back to summary |
|---|---|
| public char getFirst() Implements org.
| |
| getLast | back to summary |
|---|---|
| public char getLast() Implements org.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements org. Doc from org. Follows the same general contract as
| |
| indexOf | back to summary |
|---|---|
| public int indexOf(char value) Implements org.
| |
| injectInto | back to summary |
|---|---|
| public <T> T injectInto(T injectedValue, ObjectCharToObjectFunction<? super T, ? extends T> function) Implements org.
| |
| injectIntoWithIndex | back to summary |
|---|---|
| public <T> T injectIntoWithIndex(T injectedValue, ObjectCharIntToObjectFunction<? super T, ? extends T> function) Implements org.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Overrides default java. Doc from java. Returns
| |
| lastIndexOf | back to summary |
|---|---|
| public int lastIndexOf(char value) Implements org.
| |
| length | back to summary |
|---|---|
| public int length() Implements java. Doc from java. Returns the length of this character sequence. The length is the number
of 16-bit
| |
| max | back to summary |
|---|---|
| public char max() Implements org.
| |
| min | back to summary |
|---|---|
| public char min() Implements org.
| |
| newWith | back to summary |
|---|---|
| public CharAdapter newWith(char element) Implements org.
| |
| newWithAll | back to summary |
|---|---|
| public CharAdapter newWithAll(CharIterable elements) Implements org.
| |
| newWithout | back to summary |
|---|---|
| public CharAdapter newWithout(char element) Implements org.
| |
| newWithoutAll | back to summary |
|---|---|
| public CharAdapter newWithoutAll(CharIterable elements) Implements org.
| |
| noneSatisfy | back to summary |
|---|---|
| public boolean noneSatisfy(CharPredicate predicate) Overrides default org. Doc from org. Returns true if none of the elements in the CharIterable return true for the specified predicate, otherwise returns false.
| |
| reject | back to summary |
|---|---|
| public CharAdapter reject(CharPredicate predicate) Implements org. Doc from org. Returns a new CharIterable with all of the elements in the CharIterable that return false for the specified predicate.
| |
| select | back to summary |
|---|---|
| public CharAdapter select(CharPredicate predicate) Implements org. Doc from org. Returns a new CharIterable with all of the elements in the CharIterable that return true for the specified predicate.
| |
| size | back to summary |
|---|---|
| public int size() Implements org. Doc from org. Returns the number of items in this iterable.
| |
| subList | back to summary |
|---|---|
| public ImmutableCharList subList(int fromIndex, int toIndex) Implements org.
| |
| subSequence | back to summary |
|---|---|
| public String subSequence(int start, int end) Implements java. Doc from java. Returns a
| |
| sum | back to summary |
|---|---|
| public long sum() Implements org.
| |
| toArray | back to summary |
|---|---|
| public char[] toArray() Implements org. Doc from org. Converts the CharIterable to a primitive char array.
| |
| toArray | back to summary |
|---|---|
| public char[] toArray(char[] target) Overrides default org. Doc from org. Converts the CharIterable to a primitive char array. If the collection fits into the provided array it is used to store its elements and is returned from the method, otherwise a new array of the appropriate size is allocated and returned. If the iterable is empty, the target array is returned unchanged.
| |
| toBag | back to summary |
|---|---|
| public MutableCharBag toBag() Overrides org. Implements org. Doc from org. Converts the CharIterable to a new MutableCharBag.
| |
| toImmutable | back to summary |
|---|---|
| public ImmutableCharList toImmutable() Implements org. Doc from org. Returns an immutable copy of this list. If the list is immutable, it returns itself.
| |
| toList | back to summary |
|---|---|
| public MutableCharList toList() Overrides org. Implements org. Doc from org. Converts the CharIterable to a new MutableCharList.
| |
| toReversed | back to summary |
|---|---|
| public CharAdapter toReversed() Implements org.
| |
| toSet | back to summary |
|---|---|
| public MutableCharSet toSet() Overrides org. Implements org. Doc from org. Converts the CharIterable to a new MutableCharSet.
| |
| toStack | back to summary |
|---|---|
| public MutableCharStack toStack() Overrides default org. Doc from org. Converts the collection to a CharStack.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Implements java. The value of toString must be strictly implemented as defined in CharSequence.
| |
| toStringBuilder | back to summary |
|---|---|
| public StringBuilder toStringBuilder() | |
| zip | back to summary |
|---|---|
| public <T> ImmutableList Overrides default org. Doc from org. Returns an
| |
| zipChar | back to summary |
|---|---|
| public ImmutableList Overrides default org. Doc from org. Returns an
| |
| Modifier and Type | Field and Description |
|---|---|
| private int | currentIndex
Index of element to be returned by subsequent call to next. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public char |
| currentIndex | back to summary |
|---|---|
| private int currentIndex Index of element to be returned by subsequent call to next. | |
| InternalCharIterator | back to summary |
|---|---|
| private InternalCharIterator() | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements org.
| |
| next | back to summary |
|---|---|
| public char next() Implements org.
| |