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:
size
in interfacePrimitiveIterable
-
toString
public String toString()
- Specified by:
toString
in interfacePrimitiveIterable
- Overrides:
toString
in classObject
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmpty
in interfacePrimitiveIterable
-
makeString
public String makeString()
- Specified by:
makeString
in interfacePrimitiveIterable
-
makeString
public String makeString(String separator)
- Specified by:
makeString
in interfacePrimitiveIterable
-
makeString
public String makeString(String start, String separator, String end)
- Specified by:
makeString
in interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable)
- Specified by:
appendString
in interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String separator)
- Specified by:
appendString
in interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- Specified by:
appendString
in interfacePrimitiveIterable
-
contains
public boolean contains(char value)
- Specified by:
contains
in interfaceCharIterable
-
containsAll
public boolean containsAll(char... source)
- Specified by:
containsAll
in interfaceCharIterable
-
containsAll
public boolean containsAll(CharIterable source)
- Specified by:
containsAll
in interfaceCharIterable
-
select
public LazyCharIterable select(CharPredicate predicate)
- Specified by:
select
in interfaceCharIterable
- Specified by:
select
in interfaceLazyCharIterable
-
reject
public LazyCharIterable reject(CharPredicate predicate)
- Specified by:
reject
in interfaceCharIterable
- Specified by:
reject
in interfaceLazyCharIterable
-
tap
public LazyCharIterable tap(CharProcedure procedure)
- Specified by:
tap
in interfaceCharIterable
- Specified by:
tap
in interfaceLazyCharIterable
-
collect
public <V> LazyIterable<V> collect(CharToObjectFunction<? extends V> function)
- Specified by:
collect
in interfaceCharIterable
- Specified by:
collect
in interfaceLazyCharIterable
-
flatCollect
public <V> LazyIterable<V> flatCollect(CharToObjectFunction<? extends Iterable<V>> function)
- Specified by:
flatCollect
in interfaceLazyCharIterable
-
collectBoolean
public LazyBooleanIterable collectBoolean(CharToBooleanFunction function)
- Specified by:
collectBoolean
in interfaceLazyCharIterable
- Since:
- 7.0
-
collectByte
public LazyByteIterable collectByte(CharToByteFunction function)
- Specified by:
collectByte
in interfaceLazyCharIterable
- Since:
- 7.0
-
collectChar
public LazyCharIterable collectChar(CharToCharFunction function)
- Specified by:
collectChar
in interfaceLazyCharIterable
- Since:
- 7.0
-
collectShort
public LazyShortIterable collectShort(CharToShortFunction function)
- Specified by:
collectShort
in interfaceLazyCharIterable
- Since:
- 7.0
-
collectInt
public LazyIntIterable collectInt(CharToIntFunction function)
- Specified by:
collectInt
in interfaceLazyCharIterable
- Since:
- 7.0
-
collectFloat
public LazyFloatIterable collectFloat(CharToFloatFunction function)
- Specified by:
collectFloat
in interfaceLazyCharIterable
- Since:
- 7.0
-
collectLong
public LazyLongIterable collectLong(CharToLongFunction function)
- Specified by:
collectLong
in interfaceLazyCharIterable
- Since:
- 7.0
-
collectDouble
public LazyDoubleIterable collectDouble(CharToDoubleFunction function)
- Specified by:
collectDouble
in interfaceLazyCharIterable
- Since:
- 7.0
-
detectIfNone
public char detectIfNone(CharPredicate predicate, char ifNone)
- Specified by:
detectIfNone
in interfaceCharIterable
-
count
public int count(CharPredicate predicate)
- Specified by:
count
in interfaceCharIterable
-
anySatisfy
public boolean anySatisfy(CharPredicate predicate)
- Specified by:
anySatisfy
in interfaceCharIterable
-
allSatisfy
public boolean allSatisfy(CharPredicate predicate)
- Specified by:
allSatisfy
in interfaceCharIterable
-
noneSatisfy
public boolean noneSatisfy(CharPredicate predicate)
- Specified by:
noneSatisfy
in interfaceCharIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectCharToObjectFunction<? super T,? extends T> function)
- Specified by:
injectInto
in interfaceCharIterable
-
chunk
public RichIterable<CharIterable> chunk(int size)
- Specified by:
chunk
in interfaceCharIterable
-
toArray
public char[] toArray()
- Specified by:
toArray
in interfaceCharIterable
-
toList
public MutableCharList toList()
- Specified by:
toList
in interfaceCharIterable
-
toSet
public MutableCharSet toSet()
- Specified by:
toSet
in interfaceCharIterable
-
toBag
public MutableCharBag toBag()
- Specified by:
toBag
in interfaceCharIterable
-
sum
public long sum()
- Specified by:
sum
in interfaceCharIterable
-
max
public char max()
- Specified by:
max
in interfaceCharIterable
-
maxIfEmpty
public char maxIfEmpty(char ifEmpty)
- Specified by:
maxIfEmpty
in interfaceCharIterable
-
min
public char min()
- Specified by:
min
in interfaceCharIterable
-
minIfEmpty
public char minIfEmpty(char ifEmpty)
- Specified by:
minIfEmpty
in interfaceCharIterable
-
average
public double average()
- Specified by:
average
in interfaceCharIterable
-
median
public double median()
- Specified by:
median
in interfaceCharIterable
-
toSortedArray
public char[] toSortedArray()
- Specified by:
toSortedArray
in interfaceCharIterable
-
toSortedList
public MutableCharList toSortedList()
- Specified by:
toSortedList
in interfaceCharIterable
-
asLazy
public LazyCharIterable asLazy()
- Specified by:
asLazy
in interfaceCharIterable
-
-