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
This file was automatically generated from template file abstractLazyPrimitiveIterable.stg.
- Since:
- 5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(CharPredicate predicate) booleananySatisfy(CharPredicate predicate) voidappendString(Appendable appendable) voidappendString(Appendable appendable, String separator) voidappendString(Appendable appendable, String start, String separator, String end) asLazy()doubleaverage()chunk(int size) <V> LazyIterable<V>collect(CharToObjectFunction<? extends V> function) collectBoolean(CharToBooleanFunction function) collectByte(CharToByteFunction function) collectChar(CharToCharFunction function) collectDouble(CharToDoubleFunction function) collectFloat(CharToFloatFunction function) collectInt(CharToIntFunction function) collectLong(CharToLongFunction function) collectShort(CharToShortFunction function) booleancontains(char value) booleancontainsAll(char... source) booleancontainsAll(CharIterable source) intcount(CharPredicate predicate) chardetectIfNone(CharPredicate predicate, char ifNone) <V> LazyIterable<V>flatCollect(CharToObjectFunction<? extends Iterable<V>> function) <T> TinjectInto(T injectedValue, ObjectCharToObjectFunction<? super T, ? extends T> function) booleanisEmpty()makeString(String separator) makeString(String start, String separator, String end) charmax()charmaxIfEmpty(char ifEmpty) doublemedian()charmin()charminIfEmpty(char ifEmpty) booleannoneSatisfy(CharPredicate predicate) booleannotEmpty()reject(CharPredicate predicate) select(CharPredicate predicate) intsize()longsum()tap(CharProcedure procedure) char[]toArray()toBag()toList()toSet()char[]toString()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
-
Constructor Details
-
AbstractLazyCharIterable
public AbstractLazyCharIterable()
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfacePrimitiveIterable
-
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
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- 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
- Specified by:
containsAllin interfaceCharIterable
-
select
- Specified by:
selectin interfaceCharIterable- Specified by:
selectin interfaceLazyCharIterable
-
reject
- Specified by:
rejectin interfaceCharIterable- Specified by:
rejectin interfaceLazyCharIterable
-
tap
- Specified by:
tapin interfaceCharIterable- Specified by:
tapin interfaceLazyCharIterable
-
collect
- Specified by:
collectin interfaceCharIterable- Specified by:
collectin interfaceLazyCharIterable
-
flatCollect
- Specified by:
flatCollectin interfaceLazyCharIterable
-
collectBoolean
- Specified by:
collectBooleanin interfaceLazyCharIterable- Since:
- 7.0
-
collectByte
- Specified by:
collectBytein interfaceLazyCharIterable- Since:
- 7.0
-
collectChar
- Specified by:
collectCharin interfaceLazyCharIterable- Since:
- 7.0
-
collectShort
- Specified by:
collectShortin interfaceLazyCharIterable- Since:
- 7.0
-
collectInt
- Specified by:
collectIntin interfaceLazyCharIterable- Since:
- 7.0
-
collectFloat
- Specified by:
collectFloatin interfaceLazyCharIterable- Since:
- 7.0
-
collectLong
- Specified by:
collectLongin interfaceLazyCharIterable- Since:
- 7.0
-
collectDouble
- Specified by:
collectDoublein interfaceLazyCharIterable- Since:
- 7.0
-
detectIfNone
- Specified by:
detectIfNonein interfaceCharIterable
-
count
- Specified by:
countin interfaceCharIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceCharIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceCharIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceCharIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectCharToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceCharIterable
-
chunk
- Specified by:
chunkin interfaceCharIterable
-
toArray
public char[] toArray()- Specified by:
toArrayin interfaceCharIterable
-
toList
- Specified by:
toListin interfaceCharIterable
-
toSet
- Specified by:
toSetin interfaceCharIterable
-
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
- Specified by:
toSortedListin interfaceCharIterable
-
asLazy
- Specified by:
asLazyin interfaceCharIterable
-