public class CodePointList extends AbstractIntIterable implements CharSequence, ImmutableIntList, Serializable
| Constructor and Description |
|---|
CodePointList(String value) |
asLazy, average, maxIfEmpty, median, minIfEmpty, toSortedArray, toSortedListchars, codePointscollectWithIndex, rejectWithIndex, selectWithIndex, tapforEachInBoth, primitiveParallelStream, primitiveStreamcollectWithIndex, rejectWithIndex, selectWithIndexasLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, maxIfEmpty, median, medianIfEmpty, minIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByappendString, appendString, makeString, makeString, makeString, notEmptypublic CodePointList(String value)
public static CodePointList from(String value)
public static CodePointList from(int... codePoints)
public static CodePointList from(IntIterable iterable)
public StringBuilder toStringBuilder()
public char charAt(int index)
charAt in interface CharSequencepublic int length()
length in interface CharSequencepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic String subSequence(int start, int end)
subSequence in interface CharSequencepublic String toString()
toString in interface CharSequencetoString in interface PrimitiveIterabletoString in class AbstractIntIterablepublic IntIterator intIterator()
intIterator in interface IntIterablepublic int[] toArray()
toArray in interface IntIterablepublic int[] toArray(int[] target)
toArray in interface IntIterablepublic boolean contains(int expected)
contains in interface IntIterablepublic void each(IntProcedure procedure)
each in interface IntIterablepublic CodePointList distinct()
distinct in interface ImmutableIntListdistinct in interface IntListdistinct in interface ReversibleIntIterablepublic CodePointList newWith(int element)
newWith in interface ImmutableIntCollectionnewWith in interface ImmutableIntListpublic CodePointList newWithout(int element)
newWithout in interface ImmutableIntCollectionnewWithout in interface ImmutableIntListpublic CodePointList newWithAll(IntIterable elements)
newWithAll in interface ImmutableIntCollectionnewWithAll in interface ImmutableIntListpublic CodePointList newWithoutAll(IntIterable elements)
newWithoutAll in interface ImmutableIntCollectionnewWithoutAll in interface ImmutableIntListpublic CodePointList toReversed()
toReversed in interface ImmutableIntListtoReversed in interface IntListtoReversed in interface ReversibleIntIterablepublic ImmutableIntList subList(int fromIndex, int toIndex)
subList in interface ImmutableIntListsubList in interface IntListpublic long dotProduct(IntList list)
dotProduct in interface IntListpublic int binarySearch(int value)
binarySearch in interface IntListpublic int lastIndexOf(int value)
lastIndexOf in interface IntListpublic ImmutableIntList toImmutable()
toImmutable in interface IntListpublic int getLast()
getLast in interface ReversibleIntIterablepublic LazyIntIterable asReversed()
asReversed in interface ReversibleIntIterablepublic <T> T injectIntoWithIndex(T injectedValue,
ObjectIntIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface OrderedIntIterableinjectIntoWithIndex in interface ReversibleIntIterablepublic int getFirst()
getFirst in interface OrderedIntIterablepublic int indexOf(int value)
indexOf in interface OrderedIntIterablepublic void forEachWithIndex(IntIntProcedure procedure)
forEachWithIndex in interface OrderedIntIterablepublic CodePointList select(IntPredicate predicate)
select in interface ImmutableIntCollectionselect in interface IntIterableselect in interface ImmutableIntListselect in interface IntListselect in interface OrderedIntIterableselect in interface ReversibleIntIterablepublic CodePointList reject(IntPredicate predicate)
reject in interface ImmutableIntCollectionreject in interface IntIterablereject in interface ImmutableIntListreject in interface IntListreject in interface OrderedIntIterablereject in interface ReversibleIntIterablepublic <V> ImmutableList<V> collect(IntToObjectFunction<? extends V> function)
collect in interface ImmutableIntCollectioncollect in interface IntIterablecollect in interface ImmutableIntListcollect in interface IntListcollect in interface OrderedIntIterablecollect in interface ReversibleIntIterablepublic CodePointList collectInt(IntToIntFunction function)
public int detectIfNone(IntPredicate predicate, int ifNone)
detectIfNone in interface IntIterablepublic int count(IntPredicate predicate)
count in interface IntIterablepublic boolean anySatisfy(IntPredicate predicate)
anySatisfy in interface IntIterablepublic boolean allSatisfy(IntPredicate predicate)
allSatisfy in interface IntIterablepublic boolean noneSatisfy(IntPredicate predicate)
noneSatisfy in interface IntIterablepublic MutableIntList toList()
toList in interface IntIterabletoList in class AbstractIntIterablepublic MutableIntSet toSet()
toSet in interface IntIterabletoSet in class AbstractIntIterablepublic MutableIntBag toBag()
toBag in interface IntIterabletoBag in class AbstractIntIterablepublic <T> T injectInto(T injectedValue,
ObjectIntToObjectFunction<? super T,? extends T> function)
injectInto in interface IntIterablepublic RichIterable<IntIterable> chunk(int size)
chunk in interface IntIterablepublic long sum()
sum in interface IntIterablepublic int max()
max in interface IntIterablepublic int min()
min in interface IntIterablepublic int size()
size in interface PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface PrimitiveIterablepublic boolean equals(Object otherList)
public int hashCode()
public ImmutableList<IntIntPair> zipInt(IntIterable iterable)
zipInt in interface ImmutableIntListzipInt in interface IntListpublic <T> ImmutableList<IntObjectPair<T>> zip(Iterable<T> iterable)
zip in interface ImmutableIntListzip in interface IntListpublic Spliterator.OfInt spliterator()
spliterator in interface IntListCopyright © 2004–2022. All rights reserved.