Vector<T> |
Vector.append(T element) |
|
Vector<T> |
Vector.appendAll(@NonNull java.lang.Iterable<? extends T> iterable) |
|
(package private) static <T> Vector<Vector<T>> |
VectorModule.Combinations.apply(Vector<T> elements,
int k) |
|
Vector<T> |
Vector.asJava(@NonNull java.util.function.Consumer<? super java.util.List<T>> action) |
|
Vector<T> |
Vector.asJavaMutable(@NonNull java.util.function.Consumer<? super java.util.List<T>> action) |
|
<R> Vector<R> |
Vector.collect(@NonNull PartialFunction<? super T,? extends R> partialFunction) |
|
Vector<Vector<T>> |
Vector.combinations() |
|
Vector<Vector<T>> |
Vector.combinations(int k) |
|
Vector<T> |
Vector.distinct() |
|
Vector<T> |
Vector.distinctBy(@NonNull java.util.Comparator<? super T> comparator) |
|
<U> Vector<T> |
Vector.distinctBy(@NonNull java.util.function.Function<? super T,? extends U> keyExtractor) |
|
Vector<T> |
Vector.distinctByKeepLast(@NonNull java.util.Comparator<? super T> comparator) |
|
<U> Vector<T> |
Vector.distinctByKeepLast(@NonNull java.util.function.Function<? super T,? extends U> keyExtractor) |
|
Vector<T> |
Vector.drop(int n) |
|
Vector<T> |
Vector.dropRight(int n) |
|
Vector<T> |
Vector.dropRightUntil(@NonNull java.util.function.Predicate<? super T> predicate) |
|
Vector<T> |
Vector.dropRightWhile(@NonNull java.util.function.Predicate<? super T> predicate) |
|
Vector<T> |
Vector.dropUntil(@NonNull java.util.function.Predicate<? super T> predicate) |
|
Vector<T> |
Vector.dropWhile(@NonNull java.util.function.Predicate<? super T> predicate) |
|
static <T> Vector<T> |
Vector.empty() |
Returns the empty Vector.
|
static <T> Vector<T> |
Vector.fill(int n,
@NonNull java.util.function.Supplier<? extends T> s) |
Returns a Vector containing n values supplied by a given Supplier s.
|
static <T> Vector<T> |
Vector.fill(int n,
T element) |
Returns a Vector containing n times the given element
|
Vector<T> |
Vector.filter(@NonNull java.util.function.Predicate<? super T> predicate) |
|
<U> Vector<U> |
Vector.flatMap(@NonNull java.util.function.Function<? super T,? extends java.lang.Iterable<? extends U>> mapper) |
|
Vector<T> |
Vector.init() |
|
Vector<T> |
Vector.insert(int index,
T element) |
|
Vector<T> |
Vector.insertAll(int index,
@NonNull java.lang.Iterable<? extends T> elements) |
|
Vector<T> |
Vector.intersperse(T element) |
|
Vector<T> |
Vector.leftPadTo(int length,
T element) |
|
<U> Vector<U> |
Vector.map(@NonNull java.util.function.Function<? super T,? extends U> mapper) |
|
<U> Vector<U> |
Vector.mapTo(U value) |
|
Vector<java.lang.Void> |
Vector.mapToVoid() |
|
static <T> Vector<T> |
Vector.narrow(Vector<? extends T> vector) |
Narrows a Vector<? extends T> to Vector<T> via a
type-safe cast.
|
static <T> Vector<T> |
Vector.of(T element) |
Returns a singleton Vector, i.e.
|
static <T> Vector<T> |
Vector.of(T @NonNull ... elements) |
Creates a Vector of the given elements.
|
static Vector<java.lang.Boolean> |
Vector.ofAll(boolean @NonNull ... elements) |
Creates a Vector from boolean values.
|
static Vector<java.lang.Byte> |
Vector.ofAll(byte @NonNull ... elements) |
Creates a Vector from byte values.
|
static Vector<java.lang.Character> |
Vector.ofAll(char @NonNull ... elements) |
Creates a Vector from char values.
|
static Vector<java.lang.Double> |
Vector.ofAll(double @NonNull ... elements) |
Creates a Vector from double values.
|
static Vector<java.lang.Float> |
Vector.ofAll(float @NonNull ... elements) |
Creates a Vector from float values.
|
static Vector<java.lang.Integer> |
Vector.ofAll(int @NonNull ... elements) |
Creates a Vector from int values.
|
static Vector<java.lang.Long> |
Vector.ofAll(long @NonNull ... elements) |
Creates a Vector from long values.
|
static Vector<java.lang.Short> |
Vector.ofAll(short @NonNull ... elements) |
Creates a Vector from short values.
|
private static <T> Vector<T> |
Vector.ofAll(@NonNull BitMappedTrie<T> trie) |
|
static <T> Vector<T> |
Vector.ofAll(@NonNull java.lang.Iterable<? extends T> iterable) |
Creates a Vector of the given elements.
|
static <T> Vector<T> |
Vector.ofAll(@NonNull java.util.stream.Stream<? extends T> javaStream) |
Creates a Vector that contains the elements of the given Stream.
|
Vector<T> |
Vector.orElse(@NonNull java.lang.Iterable<? extends T> other) |
|
Vector<T> |
Vector.orElse(@NonNull java.util.function.Supplier<? extends java.lang.Iterable<? extends T>> supplier) |
|
Vector<T> |
Vector.padTo(int length,
T element) |
|
Vector<T> |
Vector.patch(int from,
@NonNull java.lang.Iterable<? extends T> that,
int replaced) |
|
Vector<T> |
Vector.peek(@NonNull java.util.function.Consumer<? super T> action) |
|
Vector<Vector<T>> |
Vector.permutations() |
|
Vector<T> |
Vector.prepend(T element) |
|
Vector<T> |
Vector.prependAll(@NonNull java.lang.Iterable<? extends T> iterable) |
|
static Vector<java.lang.Character> |
Vector.range(char from,
char toExclusive) |
Creates a Vector of char numbers starting from from, extending to toExclusive - 1.
|
static Vector<java.lang.Integer> |
Vector.range(int from,
int toExclusive) |
Creates a Vector of int numbers starting from from, extending to toExclusive - 1.
|
static Vector<java.lang.Long> |
Vector.range(long from,
long toExclusive) |
Creates a Vector of long numbers starting from from, extending to toExclusive - 1.
|
static Vector<java.lang.Character> |
Vector.rangeBy(char from,
char toExclusive,
int step) |
Creates a Vector of char numbers starting from from, extending to toExclusive - 1,
with step.
|
static Vector<java.lang.Double> |
Vector.rangeBy(double from,
double toExclusive,
double step) |
Creates a Vector of double numbers starting from from, extending up to (but not including) toExclusive,
with step.
|
static Vector<java.lang.Integer> |
Vector.rangeBy(int from,
int toExclusive,
int step) |
Creates a Vector of int numbers starting from from, extending to toExclusive - 1,
with step.
|
static Vector<java.lang.Long> |
Vector.rangeBy(long from,
long toExclusive,
long step) |
Creates a Vector of long numbers starting from from, extending to toExclusive - 1,
with step.
|
static Vector<java.lang.Character> |
Vector.rangeClosed(char from,
char toInclusive) |
Creates a Vector of char numbers starting from from, extending to toInclusive.
|
static Vector<java.lang.Integer> |
Vector.rangeClosed(int from,
int toInclusive) |
Creates a Vector of int numbers starting from from, extending to toInclusive.
|
static Vector<java.lang.Long> |
Vector.rangeClosed(long from,
long toInclusive) |
Creates a Vector of long numbers starting from from, extending to toInclusive.
|
static Vector<java.lang.Character> |
Vector.rangeClosedBy(char from,
char toInclusive,
int step) |
Creates a Vector of char numbers starting from from, extending to toInclusive,
with step.
|
static Vector<java.lang.Double> |
Vector.rangeClosedBy(double from,
double toInclusive,
double step) |
Creates a Vector of double numbers starting from from, extending to toInclusive,
with step.
|
static Vector<java.lang.Integer> |
Vector.rangeClosedBy(int from,
int toInclusive,
int step) |
Creates a Vector of int numbers starting from from, extending to toInclusive,
with step.
|
static Vector<java.lang.Long> |
Vector.rangeClosedBy(long from,
long toInclusive,
long step) |
Creates a Vector of long numbers starting from from, extending to toInclusive,
with step.
|
Vector<T> |
Vector.reject(@NonNull java.util.function.Predicate<? super T> predicate) |
|
Vector<T> |
Vector.remove(T element) |
|
Vector<T> |
Vector.removeAll(@NonNull java.lang.Iterable<? extends T> elements) |
|
Vector<T> |
Vector.removeAll(@NonNull java.util.function.Predicate<? super T> predicate) |
Deprecated.
|
Vector<T> |
Vector.removeAll(T element) |
|
Vector<T> |
Vector.removeAt(int index) |
|
Vector<T> |
Vector.removeFirst(@NonNull java.util.function.Predicate<T> predicate) |
|
Vector<T> |
Vector.removeLast(@NonNull java.util.function.Predicate<T> predicate) |
|
Vector<T> |
Vector.replace(T currentElement,
T newElement) |
|
Vector<T> |
Vector.replaceAll(T currentElement,
T newElement) |
|
Vector<T> |
Vector.retainAll(@NonNull java.lang.Iterable<? extends T> elements) |
|
Vector<T> |
Vector.reverse() |
|
Vector<T> |
Vector.rotateLeft(int n) |
|
Vector<T> |
Vector.rotateRight(int n) |
|
Vector<T> |
Vector.scan(T zero,
@NonNull java.util.function.BiFunction<? super T,? super T,? extends T> operation) |
|
<U> Vector<U> |
Vector.scanLeft(U zero,
@NonNull java.util.function.BiFunction<? super U,? super T,? extends U> operation) |
|
<U> Vector<U> |
Vector.scanRight(U zero,
@NonNull java.util.function.BiFunction<? super T,? super U,? extends U> operation) |
|
Vector<T> |
Vector.shuffle() |
|
Vector<T> |
Vector.slice(int beginIndex,
int endIndex) |
|
<U> Vector<T> |
Vector.sortBy(@NonNull java.util.Comparator<? super U> comparator,
java.util.function.Function<? super T,? extends U> mapper) |
|
<U extends java.lang.Comparable<? super U>> Vector<T> |
Vector.sortBy(@NonNull java.util.function.Function<? super T,? extends U> mapper) |
|
Vector<T> |
Vector.sorted() |
|
Vector<T> |
Vector.sorted(@NonNull java.util.Comparator<? super T> comparator) |
|
Vector<T> |
Vector.subSequence(int beginIndex) |
|
Vector<T> |
Vector.subSequence(int beginIndex,
int endIndex) |
|
static <T> Vector<T> |
Vector.tabulate(int n,
@NonNull java.util.function.Function<? super java.lang.Integer,? extends T> f) |
Returns a Vector containing n values of a given Function f
over a range of integer values from 0 to n - 1.
|
Vector<T> |
Vector.tail() |
|
Vector<T> |
Vector.take(int n) |
|
Vector<T> |
Vector.takeRight(int n) |
|
Vector<T> |
Vector.takeRightUntil(@NonNull java.util.function.Predicate<? super T> predicate) |
|
Vector<T> |
Vector.takeRightWhile(@NonNull java.util.function.Predicate<? super T> predicate) |
|
Vector<T> |
Vector.takeUntil(@NonNull java.util.function.Predicate<? super T> predicate) |
|
Vector<T> |
Vector.takeWhile(@NonNull java.util.function.Predicate<? super T> predicate) |
|
static <T> Vector<Vector<T>> |
Vector.transpose(@NonNull Vector<Vector<T>> matrix) |
Transposes the rows and columns of a Vector matrix.
|
static <T> Vector<T> |
Vector.unfold(T seed,
@NonNull java.util.function.Function<? super T,Option<Tuple2<? extends T,? extends T>>> f) |
Creates a Vector from a seed value and a function.
|
static <T,U> Vector<U> |
Vector.unfoldLeft(T seed,
@NonNull java.util.function.Function<? super T,Option<Tuple2<? extends T,? extends U>>> f) |
Creates a Vector from a seed value and a function.
|
static <T,U> Vector<U> |
Vector.unfoldRight(T seed,
@NonNull java.util.function.Function<? super T,Option<Tuple2<? extends U,? extends T>>> f) |
Creates a Vector from a seed value and a function.
|
Vector<T> |
Vector.update(int index,
@NonNull java.util.function.Function<? super T,? extends T> updater) |
|
Vector<T> |
Vector.update(int index,
T element) |
|
private Vector<T> |
Vector.wrap(@NonNull BitMappedTrie<T> trie) |
|
<U> Vector<Tuple2<T,U>> |
Vector.zip(@NonNull java.lang.Iterable<? extends U> that) |
|
<U> Vector<Tuple2<T,U>> |
Vector.zipAll(@NonNull java.lang.Iterable<? extends U> that,
T thisElem,
U thatElem) |
|
<U,R> Vector<R> |
Vector.zipWith(@NonNull java.lang.Iterable<? extends U> that,
java.util.function.BiFunction<? super T,? super U,? extends R> mapper) |
|
Vector<Tuple2<T,java.lang.Integer>> |
Vector.zipWithIndex() |
|
<U> Vector<U> |
Vector.zipWithIndex(@NonNull java.util.function.BiFunction<? super T,? super java.lang.Integer,? extends U> mapper) |
|