Package one.microstream.collections
Class XUtilsArrayCollection
java.lang.Object
one.microstream.collections.XUtilsArrayCollection
public final class XUtilsArrayCollection extends Object
-
Method Summary
Modifier and Type Method Description static <E, A extends AbstractSimpleArrayCollection<E> & XGettingCollection<E>>
Aiterate(A a, Predicate<? super E> predicate, Consumer<? super E> procedure)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>, R>
RrngAggregate(A a, int offset, int length, Aggregator<? super E,R> aggregate)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
VarStringrngAppendTo(A a, int offset, int length, VarString vc)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
VarStringrngAppendTo(A a, int offset, int length, VarString vc, char separator)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
VarStringrngAppendTo(A a, int offset, int length, VarString vc, String separator)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
VarStringrngAppendTo(A a, int offset, int length, VarString vc, BiConsumer<VarString,? super E> appender)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
VarStringrngAppendTo(A a, int offset, int length, VarString vc, BiConsumer<VarString,? super E> appender, char separator)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
VarStringrngAppendTo(A a, int offset, int length, VarString vc, BiConsumer<VarString,? super E> appender, String separator)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
booleanrngApplies(A a, int offset, int length, Predicate<? super E> predicate)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
intrngBinarySearch(A a, int offset, int length, E element, Comparator<? super E> comparator)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
booleanrngContains(A a, int offset, int length, E element)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
booleanrngContains(A a, int offset, int length, E sample, Equalator<? super E> equalator)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
booleanrngContains(A a, int offset, int length, Predicate<? super E> predicate)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
booleanrngContainsAll(A a, int offset, int length, XGettingCollection<? extends E> elements)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
booleanrngContainsId(A a, int offset, int length, E element)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
booleanrngContainsNull(A a, int offset, int length)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>, C extends Consumer<? super E>>
CrngCopyTo(A a, int offset, int length, C target)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
intrngCount(A a, int offset, int length, E element)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
intrngCount(A a, int offset, int length, E sample, Equalator<? super E> equalator)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
intrngCount(A a, int offset, int length, Predicate<? super E> predicate)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>, C extends Consumer<? super E>>
CrngDistinct(A a, int offset, int length, C target)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>, C extends Consumer<? super E>>
CrngDistinct(A a, int offset, int length, C target, Equalator<? super E> equalator)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
booleanrngEqualsContent(A a, int offset, int length, XGettingList<? extends E> list, Equalator<? super E> equalator)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>, C extends Consumer<? super E>>
CrngExcept(A a, int offset, int length, XGettingCollection<? extends E> samples, Equalator<? super E> equalator, C target)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
ErngFind(A a, int offset, int length, E sample, Equalator<? super E> equalator)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
booleanrngHasUniqueValues(A a, int offset, int length)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
booleanrngHasUniqueValues(A a, int offset, int length, Equalator<? super E> equalator)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
intrngIndexOf(A a, int offset, int length, E sample, Equalator<? super E> equalator)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
intrngIndexOf(A a, int offset, int length, Predicate<? super E> predicate)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
intrngIndexOF(A a, int offset, int length, E element)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>, C extends Consumer<? super E>>
CrngIntersect(A a, int offset, int length, XGettingCollection<? extends E> samples, Equalator<? super E> equalator, C target)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
booleanrngIsSorted(A a, int offset, int length, Comparator<? super E> comparator)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
ArngIterate(A a, int offset, int length, Consumer<? super E> procedure)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
ArngIterate(A a, int offset, int length, Predicate<? super E> predicate, Consumer<? super E> procedure)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
ArngIterate(A a, int offset, int length, IndexedAcceptor<? super E> procedure)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
ErngMax(A a, int offset, int length, Comparator<? super E> comparator)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
intrngMaxIndex(A a, int offset, int length, Comparator<? super E> comparator)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
ErngMin(A a, int offset, int length, Comparator<? super E> comparator)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
intrngMinIndex(A a, int offset, int length, Comparator<? super E> comparator)
static <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>>
intrngReplace(A a, int offset, int length, E oldElement, E newElement)
static <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>>
longrngReplace(A a, int offset, int length, E oldElement, E newElement, Equalator<? super E> equalator)
static <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>>
intrngReplace(A a, int offset, int length, Predicate<? super E> predicate, E newElement)
static <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>>
intrngReplaceAll(A a, int offset, int length, XGettingCollection<? extends E> oldElements, E newElement)
static <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>>
intrngReplaceAll(A a, int offset, int length, XGettingCollection<? extends E> oldElements, E newElement, Equalator<? super E> equalator)
static <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>>
intrngReplaceAll(A a, int offset, int length, XMap<E,E> replacementMapping)
static <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>>
intrngReplaceOne(A a, int offset, int length, E oldElement, E newElement)
static <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>>
intrngReplaceOne(A a, int offset, int length, E oldElement, E newElement, Equalator<? super E> equalator)
static <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>>
intrngReplaceOne(A a, int offset, int length, Predicate<? super E> predicate, E newElement)
static <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>>
XSettingList<E>rngReverse(A a, int offset, int length)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
intrngScan(A a, int offset, int length, Predicate<? super E> predicate)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
ErngSearch(A a, int offset, int length, Predicate<? super E> predicate)
static <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>>
XSettingList<E>rngShuffle(A a, int offset, int length)
static <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>>
XSettingList<E>rngSort(A a, int offset, int length, Comparator<? super E> comparator)
static <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>>
XSettingList<E>rngSortInsertion(A a, int offset, int length, Comparator<? super E> comparator)
static <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>>
XSettingList<E>rngSortMerge(A a, int offset, int length, Comparator<? super E> comparator)
static <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>>
XSettingList<E>rngSortQuick(A a, int offset, int length, Comparator<? super E> comparator)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
Object[]rngToArray(A a, int offset, int length)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>>
E[]rngToArray(A a, int offset, int length, Class<E> type)
static <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>, C extends Consumer<? super E>>
CrngUnion(A a, int offset, int length, XGettingCollection<? extends E> samples, Equalator<? super E> equalator, C target)
-
Method Details
-
iterate
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingCollection<E>> A iterate(A a, Predicate<? super E> predicate, Consumer<? super E> procedure) -
rngBinarySearch
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> int rngBinarySearch(A a, int offset, int length, E element, Comparator<? super E> comparator) -
rngHasUniqueValues
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> boolean rngHasUniqueValues(A a, int offset, int length) -
rngHasUniqueValues
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> boolean rngHasUniqueValues(A a, int offset, int length, Equalator<? super E> equalator) -
rngContainsAll
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> boolean rngContainsAll(A a, int offset, int length, XGettingCollection<? extends E> elements) -
rngMax
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> E rngMax(A a, int offset, int length, Comparator<? super E> comparator) -
rngMin
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> E rngMin(A a, int offset, int length, Comparator<? super E> comparator) -
rngIndexOf
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> int rngIndexOf(A a, int offset, int length, E sample, Equalator<? super E> equalator) -
rngIndexOF
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> int rngIndexOF(A a, int offset, int length, E element) -
rngCount
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> int rngCount(A a, int offset, int length, E sample, Equalator<? super E> equalator) -
rngCount
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> int rngCount(A a, int offset, int length, E element) -
rngIsSorted
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> boolean rngIsSorted(A a, int offset, int length, Comparator<? super E> comparator) -
rngCopyTo
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>, C extends Consumer<? super E>> C rngCopyTo(A a, int offset, int length, C target) -
rngIterate
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> A rngIterate(A a, int offset, int length, Consumer<? super E> procedure) -
rngIterate
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> A rngIterate(A a, int offset, int length, IndexedAcceptor<? super E> procedure) -
rngIterate
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> A rngIterate(A a, int offset, int length, Predicate<? super E> predicate, Consumer<? super E> procedure) -
rngFind
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> E rngFind(A a, int offset, int length, E sample, Equalator<? super E> equalator) -
rngContains
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> boolean rngContains(A a, int offset, int length, E element) -
rngContainsId
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> boolean rngContainsId(A a, int offset, int length, E element) -
rngContains
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> boolean rngContains(A a, int offset, int length, E sample, Equalator<? super E> equalator) -
rngContains
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> boolean rngContains(A a, int offset, int length, Predicate<? super E> predicate) -
rngContainsNull
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> boolean rngContainsNull(A a, int offset, int length) -
rngApplies
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> boolean rngApplies(A a, int offset, int length, Predicate<? super E> predicate) -
rngCount
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> int rngCount(A a, int offset, int length, Predicate<? super E> predicate) -
rngIndexOf
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> int rngIndexOf(A a, int offset, int length, Predicate<? super E> predicate) -
rngScan
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> int rngScan(A a, int offset, int length, Predicate<? super E> predicate) -
rngSearch
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> E rngSearch(A a, int offset, int length, Predicate<? super E> predicate) -
rngToArray
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> E[] rngToArray(A a, int offset, int length, Class<E> type) -
rngToArray
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> Object[] rngToArray(A a, int offset, int length) -
rngEqualsContent
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> boolean rngEqualsContent(A a, int offset, int length, XGettingList<? extends E> list, Equalator<? super E> equalator) -
rngAggregate
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>, R> R rngAggregate(A a, int offset, int length, Aggregator<? super E,R> aggregate) -
rngAppendTo
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> VarString rngAppendTo(A a, int offset, int length, VarString vc) -
rngAppendTo
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> VarString rngAppendTo(A a, int offset, int length, VarString vc, String separator) -
rngAppendTo
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> VarString rngAppendTo(A a, int offset, int length, VarString vc, char separator) -
rngAppendTo
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> VarString rngAppendTo(A a, int offset, int length, VarString vc, BiConsumer<VarString,? super E> appender) -
rngAppendTo
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> VarString rngAppendTo(A a, int offset, int length, VarString vc, BiConsumer<VarString,? super E> appender, char separator) -
rngAppendTo
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> VarString rngAppendTo(A a, int offset, int length, VarString vc, BiConsumer<VarString,? super E> appender, String separator) -
rngMaxIndex
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> int rngMaxIndex(A a, int offset, int length, Comparator<? super E> comparator) -
rngMinIndex
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>> int rngMinIndex(A a, int offset, int length, Comparator<? super E> comparator) -
rngDistinct
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>, C extends Consumer<? super E>> C rngDistinct(A a, int offset, int length, C target) -
rngDistinct
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>, C extends Consumer<? super E>> C rngDistinct(A a, int offset, int length, C target, Equalator<? super E> equalator) -
rngIntersect
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>, C extends Consumer<? super E>> C rngIntersect(A a, int offset, int length, XGettingCollection<? extends E> samples, Equalator<? super E> equalator, C target) -
rngUnion
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>, C extends Consumer<? super E>> C rngUnion(A a, int offset, int length, XGettingCollection<? extends E> samples, Equalator<? super E> equalator, C target) -
rngExcept
public static final <E, A extends AbstractSimpleArrayCollection<E> & XGettingSequence<E>, C extends Consumer<? super E>> C rngExcept(A a, int offset, int length, XGettingCollection<? extends E> samples, Equalator<? super E> equalator, C target) -
rngReplaceOne
public static final <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>> int rngReplaceOne(A a, int offset, int length, E oldElement, E newElement, Equalator<? super E> equalator) -
rngReplaceOne
public static final <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>> int rngReplaceOne(A a, int offset, int length, E oldElement, E newElement) -
rngReplace
public static final <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>> long rngReplace(A a, int offset, int length, E oldElement, E newElement, Equalator<? super E> equalator) -
rngReplace
public static final <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>> int rngReplace(A a, int offset, int length, E oldElement, E newElement) -
rngReplaceAll
public static final <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>> int rngReplaceAll(A a, int offset, int length, XMap<E,E> replacementMapping) -
rngReplaceAll
public static final <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>> int rngReplaceAll(A a, int offset, int length, XGettingCollection<? extends E> oldElements, E newElement) -
rngReplaceAll
public static final <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>> int rngReplaceAll(A a, int offset, int length, XGettingCollection<? extends E> oldElements, E newElement, Equalator<? super E> equalator) -
rngReplaceOne
public static final <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>> int rngReplaceOne(A a, int offset, int length, Predicate<? super E> predicate, E newElement) -
rngReplace
public static final <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>> int rngReplace(A a, int offset, int length, Predicate<? super E> predicate, E newElement) -
rngSortQuick
public static final <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>> XSettingList<E> rngSortQuick(A a, int offset, int length, Comparator<? super E> comparator) -
rngShuffle
public static final <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>> XSettingList<E> rngShuffle(A a, int offset, int length) -
rngSortMerge
public static final <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>> XSettingList<E> rngSortMerge(A a, int offset, int length, Comparator<? super E> comparator) -
rngSort
public static final <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>> XSettingList<E> rngSort(A a, int offset, int length, Comparator<? super E> comparator) -
rngSortInsertion
public static final <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>> XSettingList<E> rngSortInsertion(A a, int offset, int length, Comparator<? super E> comparator) -
rngReverse
public static final <E, A extends AbstractSimpleArrayCollection<E> & XSettingList<E>> XSettingList<E> rngReverse(A a, int offset, int length)
-