public class CodePointList extends AbstractIntIterable implements CharSequence, org.eclipse.collections.api.list.primitive.ImmutableIntList, Serializable
| Constructor and Description |
|---|
CodePointList(String value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
org.eclipse.collections.api.LazyIntIterable |
asReversed() |
int |
binarySearch(int value) |
char |
charAt(int index) |
<V> org.eclipse.collections.api.list.ImmutableList<V> |
collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction<? extends V> function) |
CodePointList |
collectInt(org.eclipse.collections.api.block.function.primitive.IntToIntFunction function) |
boolean |
contains(int expected) |
int |
count(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
int |
detectIfNone(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate,
int ifNone) |
CodePointList |
distinct() |
long |
dotProduct(org.eclipse.collections.api.list.primitive.IntList list) |
void |
each(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure) |
boolean |
equals(Object otherList) |
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure) |
void |
forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.IntIntProcedure procedure) |
static CodePointList |
from(int... codePoints) |
static CodePointList |
from(org.eclipse.collections.api.IntIterable iterable) |
static CodePointList |
from(String value) |
int |
get(int index) |
int |
getFirst() |
int |
getLast() |
int |
hashCode() |
int |
indexOf(int value) |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction<? super T,? extends T> function) |
<T> T |
injectIntoWithIndex(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectIntIntToObjectFunction<? super T,? extends T> function) |
org.eclipse.collections.api.iterator.IntIterator |
intIterator() |
int |
lastIndexOf(int value) |
int |
length() |
int |
max() |
int |
min() |
CodePointList |
newWith(int element) |
CodePointList |
newWithAll(org.eclipse.collections.api.IntIterable elements) |
CodePointList |
newWithout(int element) |
CodePointList |
newWithoutAll(org.eclipse.collections.api.IntIterable elements) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
CodePointList |
reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
CodePointList |
select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
int |
size() |
org.eclipse.collections.api.list.primitive.ImmutableIntList |
subList(int fromIndex,
int toIndex) |
String |
subSequence(int start,
int end) |
long |
sum() |
int[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableIntBag |
toBag() |
org.eclipse.collections.api.list.primitive.ImmutableIntList |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableIntList |
toList() |
CodePointList |
toReversed() |
org.eclipse.collections.api.set.primitive.MutableIntSet |
toSet() |
String |
toString()
The value of toString must be strictly implemented as defined in CharSequence.
|
StringBuilder |
toStringBuilder() |
appendString, appendString, asLazy, average, containsAll, containsAll, isEmpty, makeString, makeString, makeString, maxIfEmpty, median, minIfEmpty, notEmpty, toSortedArray, toSortedListchars, codePointspublic CodePointList(String value)
public static CodePointList from(String value)
public static CodePointList from(int... codePoints)
public static CodePointList from(org.eclipse.collections.api.IntIterable iterable)
public StringBuilder toStringBuilder()
public char charAt(int index)
charAt in interface CharSequencepublic int length()
length in interface CharSequencepublic String subSequence(int start, int end)
subSequence in interface CharSequencepublic String toString()
toString in interface CharSequencetoString in interface org.eclipse.collections.api.PrimitiveIterabletoString in class AbstractIntIterablepublic org.eclipse.collections.api.iterator.IntIterator intIterator()
intIterator in interface org.eclipse.collections.api.IntIterablepublic int[] toArray()
toArray in interface org.eclipse.collections.api.IntIterablepublic boolean contains(int expected)
contains in interface org.eclipse.collections.api.IntIterablepublic void forEach(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure)
forEach in interface org.eclipse.collections.api.IntIterablepublic void each(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure)
each in interface org.eclipse.collections.api.IntIterablepublic CodePointList distinct()
distinct in interface org.eclipse.collections.api.list.primitive.ImmutableIntListdistinct in interface org.eclipse.collections.api.list.primitive.IntListdistinct in interface org.eclipse.collections.api.ordered.primitive.ReversibleIntIterablepublic CodePointList newWith(int element)
newWith in interface org.eclipse.collections.api.collection.primitive.ImmutableIntCollectionnewWith in interface org.eclipse.collections.api.list.primitive.ImmutableIntListpublic CodePointList newWithout(int element)
newWithout in interface org.eclipse.collections.api.collection.primitive.ImmutableIntCollectionnewWithout in interface org.eclipse.collections.api.list.primitive.ImmutableIntListpublic CodePointList newWithAll(org.eclipse.collections.api.IntIterable elements)
newWithAll in interface org.eclipse.collections.api.collection.primitive.ImmutableIntCollectionnewWithAll in interface org.eclipse.collections.api.list.primitive.ImmutableIntListpublic CodePointList newWithoutAll(org.eclipse.collections.api.IntIterable elements)
newWithoutAll in interface org.eclipse.collections.api.collection.primitive.ImmutableIntCollectionnewWithoutAll in interface org.eclipse.collections.api.list.primitive.ImmutableIntListpublic CodePointList toReversed()
toReversed in interface org.eclipse.collections.api.list.primitive.ImmutableIntListtoReversed in interface org.eclipse.collections.api.list.primitive.IntListtoReversed in interface org.eclipse.collections.api.ordered.primitive.ReversibleIntIterablepublic org.eclipse.collections.api.list.primitive.ImmutableIntList subList(int fromIndex,
int toIndex)
subList in interface org.eclipse.collections.api.list.primitive.ImmutableIntListsubList in interface org.eclipse.collections.api.list.primitive.IntListpublic int get(int index)
get in interface org.eclipse.collections.api.list.primitive.IntListpublic long dotProduct(org.eclipse.collections.api.list.primitive.IntList list)
dotProduct in interface org.eclipse.collections.api.list.primitive.IntListpublic int binarySearch(int value)
binarySearch in interface org.eclipse.collections.api.list.primitive.IntListpublic int lastIndexOf(int value)
lastIndexOf in interface org.eclipse.collections.api.list.primitive.IntListpublic org.eclipse.collections.api.list.primitive.ImmutableIntList toImmutable()
toImmutable in interface org.eclipse.collections.api.list.primitive.IntListpublic int getLast()
getLast in interface org.eclipse.collections.api.ordered.primitive.ReversibleIntIterablepublic org.eclipse.collections.api.LazyIntIterable asReversed()
asReversed in interface org.eclipse.collections.api.ordered.primitive.ReversibleIntIterablepublic <T> T injectIntoWithIndex(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectIntIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface org.eclipse.collections.api.ordered.primitive.OrderedIntIterableinjectIntoWithIndex in interface org.eclipse.collections.api.ordered.primitive.ReversibleIntIterablepublic int getFirst()
getFirst in interface org.eclipse.collections.api.ordered.primitive.OrderedIntIterablepublic int indexOf(int value)
indexOf in interface org.eclipse.collections.api.ordered.primitive.OrderedIntIterablepublic void forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.IntIntProcedure procedure)
forEachWithIndex in interface org.eclipse.collections.api.ordered.primitive.OrderedIntIterablepublic CodePointList select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
select in interface org.eclipse.collections.api.collection.primitive.ImmutableIntCollectionselect in interface org.eclipse.collections.api.IntIterableselect in interface org.eclipse.collections.api.list.primitive.ImmutableIntListselect in interface org.eclipse.collections.api.list.primitive.IntListselect in interface org.eclipse.collections.api.ordered.primitive.OrderedIntIterableselect in interface org.eclipse.collections.api.ordered.primitive.ReversibleIntIterablepublic CodePointList reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
reject in interface org.eclipse.collections.api.collection.primitive.ImmutableIntCollectionreject in interface org.eclipse.collections.api.IntIterablereject in interface org.eclipse.collections.api.list.primitive.ImmutableIntListreject in interface org.eclipse.collections.api.list.primitive.IntListreject in interface org.eclipse.collections.api.ordered.primitive.OrderedIntIterablereject in interface org.eclipse.collections.api.ordered.primitive.ReversibleIntIterablepublic <V> org.eclipse.collections.api.list.ImmutableList<V> collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.collection.primitive.ImmutableIntCollectioncollect in interface org.eclipse.collections.api.IntIterablecollect in interface org.eclipse.collections.api.list.primitive.ImmutableIntListcollect in interface org.eclipse.collections.api.list.primitive.IntListcollect in interface org.eclipse.collections.api.ordered.primitive.OrderedIntIterablecollect in interface org.eclipse.collections.api.ordered.primitive.ReversibleIntIterablepublic CodePointList collectInt(org.eclipse.collections.api.block.function.primitive.IntToIntFunction function)
public int detectIfNone(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate,
int ifNone)
detectIfNone in interface org.eclipse.collections.api.IntIterablepublic int count(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
count in interface org.eclipse.collections.api.IntIterablepublic boolean anySatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
anySatisfy in interface org.eclipse.collections.api.IntIterablepublic boolean allSatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
allSatisfy in interface org.eclipse.collections.api.IntIterablepublic boolean noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
noneSatisfy in interface org.eclipse.collections.api.IntIterablepublic org.eclipse.collections.api.list.primitive.MutableIntList toList()
toList in interface org.eclipse.collections.api.IntIterabletoList in class AbstractIntIterablepublic org.eclipse.collections.api.set.primitive.MutableIntSet toSet()
toSet in interface org.eclipse.collections.api.IntIterabletoSet in class AbstractIntIterablepublic org.eclipse.collections.api.bag.primitive.MutableIntBag toBag()
toBag in interface org.eclipse.collections.api.IntIterabletoBag in class AbstractIntIterablepublic <T> T injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction<? super T,? extends T> function)
injectInto in interface org.eclipse.collections.api.IntIterablepublic long sum()
sum in interface org.eclipse.collections.api.IntIterablepublic int max()
max in interface org.eclipse.collections.api.IntIterablepublic int min()
min in interface org.eclipse.collections.api.IntIterablepublic int size()
size in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean equals(Object otherList)
Copyright © 2004–2018. All rights reserved.