Class AbstractLazyCharIterable
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable
-
- All Implemented Interfaces:
CharIterable,LazyCharIterable,PrimitiveIterable
- Direct Known Subclasses:
CollectBooleanToCharIterable,CollectByteToCharIterable,CollectCharIterable,CollectCharToCharIterable,CollectDoubleToCharIterable,CollectFloatToCharIterable,CollectIntToCharIterable,CollectLongToCharIterable,CollectShortToCharIterable,LazyCharIterableAdapter,ReverseCharIterable,SelectCharIterable,TapCharIterable
public abstract class AbstractLazyCharIterable extends Object implements LazyCharIterable
This file was automatically generated from template file abstractLazyPrimitiveIterable.stg.- Since:
- 5.0
-
-
Constructor Summary
Constructors Constructor Description AbstractLazyCharIterable()
-
Method Summary
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.CharIterable
averageIfEmpty, charIterator, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, each, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
-
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfacePrimitiveIterable
-
toString
public String toString()
- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classObject
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmptyin interfacePrimitiveIterable
-
makeString
public String makeString()
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
public String makeString(String separator)
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
public String makeString(String start, String separator, String end)
- Specified by:
makeStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable)
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String separator)
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- Specified by:
appendStringin interfacePrimitiveIterable
-
contains
public boolean contains(char value)
- Specified by:
containsin interfaceCharIterable
-
containsAll
public boolean containsAll(char... source)
- Specified by:
containsAllin interfaceCharIterable
-
containsAll
public boolean containsAll(CharIterable source)
- Specified by:
containsAllin interfaceCharIterable
-
select
public LazyCharIterable select(CharPredicate predicate)
- Specified by:
selectin interfaceCharIterable- Specified by:
selectin interfaceLazyCharIterable
-
reject
public LazyCharIterable reject(CharPredicate predicate)
- Specified by:
rejectin interfaceCharIterable- Specified by:
rejectin interfaceLazyCharIterable
-
tap
public LazyCharIterable tap(CharProcedure procedure)
- Specified by:
tapin interfaceCharIterable- Specified by:
tapin interfaceLazyCharIterable
-
collect
public <V> LazyIterable<V> collect(CharToObjectFunction<? extends V> function)
- Specified by:
collectin interfaceCharIterable- Specified by:
collectin interfaceLazyCharIterable
-
flatCollect
public <V> LazyIterable<V> flatCollect(CharToObjectFunction<? extends Iterable<V>> function)
- Specified by:
flatCollectin interfaceLazyCharIterable
-
collectBoolean
public LazyBooleanIterable collectBoolean(CharToBooleanFunction function)
- Specified by:
collectBooleanin interfaceLazyCharIterable- Since:
- 7.0
-
collectByte
public LazyByteIterable collectByte(CharToByteFunction function)
- Specified by:
collectBytein interfaceLazyCharIterable- Since:
- 7.0
-
collectChar
public LazyCharIterable collectChar(CharToCharFunction function)
- Specified by:
collectCharin interfaceLazyCharIterable- Since:
- 7.0
-
collectShort
public LazyShortIterable collectShort(CharToShortFunction function)
- Specified by:
collectShortin interfaceLazyCharIterable- Since:
- 7.0
-
collectInt
public LazyIntIterable collectInt(CharToIntFunction function)
- Specified by:
collectIntin interfaceLazyCharIterable- Since:
- 7.0
-
collectFloat
public LazyFloatIterable collectFloat(CharToFloatFunction function)
- Specified by:
collectFloatin interfaceLazyCharIterable- Since:
- 7.0
-
collectLong
public LazyLongIterable collectLong(CharToLongFunction function)
- Specified by:
collectLongin interfaceLazyCharIterable- Since:
- 7.0
-
collectDouble
public LazyDoubleIterable collectDouble(CharToDoubleFunction function)
- Specified by:
collectDoublein interfaceLazyCharIterable- Since:
- 7.0
-
detectIfNone
public char detectIfNone(CharPredicate predicate, char ifNone)
- Specified by:
detectIfNonein interfaceCharIterable
-
count
public int count(CharPredicate predicate)
- Specified by:
countin interfaceCharIterable
-
anySatisfy
public boolean anySatisfy(CharPredicate predicate)
- Specified by:
anySatisfyin interfaceCharIterable
-
allSatisfy
public boolean allSatisfy(CharPredicate predicate)
- Specified by:
allSatisfyin interfaceCharIterable
-
noneSatisfy
public boolean noneSatisfy(CharPredicate predicate)
- Specified by:
noneSatisfyin interfaceCharIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectCharToObjectFunction<? super T,? extends T> function)- Specified by:
injectIntoin interfaceCharIterable
-
chunk
public RichIterable<CharIterable> chunk(int size)
- Specified by:
chunkin interfaceCharIterable
-
toArray
public char[] toArray()
- Specified by:
toArrayin interfaceCharIterable
-
toList
public MutableCharList toList()
- Specified by:
toListin interfaceCharIterable
-
toSet
public MutableCharSet toSet()
- Specified by:
toSetin interfaceCharIterable
-
toBag
public MutableCharBag toBag()
- Specified by:
toBagin interfaceCharIterable
-
sum
public long sum()
- Specified by:
sumin interfaceCharIterable
-
max
public char max()
- Specified by:
maxin interfaceCharIterable
-
maxIfEmpty
public char maxIfEmpty(char ifEmpty)
- Specified by:
maxIfEmptyin interfaceCharIterable
-
min
public char min()
- Specified by:
minin interfaceCharIterable
-
minIfEmpty
public char minIfEmpty(char ifEmpty)
- Specified by:
minIfEmptyin interfaceCharIterable
-
average
public double average()
- Specified by:
averagein interfaceCharIterable
-
median
public double median()
- Specified by:
medianin interfaceCharIterable
-
toSortedArray
public char[] toSortedArray()
- Specified by:
toSortedArrayin interfaceCharIterable
-
toSortedList
public MutableCharList toSortedList()
- Specified by:
toSortedListin interfaceCharIterable
-
asLazy
public LazyCharIterable asLazy()
- Specified by:
asLazyin interfaceCharIterable
-
-