Index
All Classes and Interfaces|All Packages|Serialized Form
A
- accept(A, B, C) - Method in interface com.ontology2.pidove.util.Consumer3
- accumulate(BinaryOperator<X>, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Like the accumulate function from Python's itertools.
- all(Iterable<Boolean>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the "all" function from Python.
- and(Z) - Method in record class com.ontology2.pidove.util.Pair
-
Adds a third value to make this a Trio.
- any(Iterable<Boolean>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the "any" function from Python.
- apply(A, B, C) - Method in interface com.ontology2.pidove.util.Function3
- asList(Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the toList method of the Java Streams API
- asMap(Iterable<Pair<X, Y>>) - Static method in class com.ontology2.pidove.iterables.Iterables
- asSet(Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the toSet method in the Java Streams API
- at(int, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Like the indexing operator in Python.
- at(int, X[]) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Like the indexing operator in Python.
C
- cast(Object) - Static method in class com.ontology2.pidove.util.DuctTape
- characters() - Static method in class com.ontology2.pidove.iterables.MoreCollectors
- clear() - Method in class com.ontology2.pidove.util.DefaultMap
- close() - Method in class com.ontology2.pidove.iterables.TidyIterator
-
If the innerIterator is AutoCloseable, close() calls the close method of the innerIterator, otherwise does nothing
- close(Object) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Given an arbitrary object, calls the close method if it is AutoCloseable, otherwise do nothing
- coalesce(X, X) - Static method in class com.ontology2.pidove.util.Null
-
Null coalescing operator returns the first argument that isn't null or null if all arguments are null.
- coalesce(X, X, X) - Static method in class com.ontology2.pidove.util.Null
- coalesce(X, X, X, X...) - Static method in class com.ontology2.pidove.util.Null
-
Null coalescing operator Since all the values are the same type this can be implemented for an arbitrary number of values with varargs
- collect(Collector<? super X, Y, Z>, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the collect() method in the streams API
- com.ontology2.pidove.iterables - package com.ontology2.pidove.iterables
- com.ontology2.pidove.util - package com.ontology2.pidove.util
- compose(BiFunction<A, B, X>, Function<X, C>) - Static method in class com.ontology2.pidove.util.Composer
- compose(Function<A, X>, Function<X, B>) - Static method in class com.ontology2.pidove.util.Composer
- compose(Function<A, X1>, Function<X1, X2>, Function<X2, B>) - Static method in class com.ontology2.pidove.util.Composer
- compose(Function<A, X1>, Function<X1, X2>, Function<X2, X3>, Function<X3, B>) - Static method in class com.ontology2.pidove.util.Composer
- compose(Supplier<A>, Function<A, B>) - Static method in class com.ontology2.pidove.util.Composer
- composePredicate(BiFunction<A, B, X>, Predicate<X>) - Static method in class com.ontology2.pidove.util.Composer
- composePredicate(Function<A, B>, Predicate<B>) - Static method in class com.ontology2.pidove.util.Composer
-
Function<X,Boolean> is ambiguous with Predicate<X> so we need to change the name of this function so it doesn't conflict with ordinary compose.
- Composer - Class in com.ontology2.pidove.util
-
Many programming languages have a function for composing functions; here is an attempt to make the most of the concept in Java.
- Composer() - Constructor for class com.ontology2.pidove.util.Composer
- composeVoid(Function<A, B>, Consumer<B>) - Static method in class com.ontology2.pidove.util.Composer
- compress(Iterable<Boolean>, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Like the compress function from Python's itertools.
- concat(Iterable<X>...) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the "concat" function in the Java Streams API.
- constant(X) - Static method in class com.ontology2.pidove.util.Suppliers
- Consumer3<A,
B, C> - Interface in com.ontology2.pidove.util - containsKey(Object) - Method in class com.ontology2.pidove.util.DefaultMap
-
It's not so clear what this function should return, since even if a key is not contained in the inner map it would be if you got it.
- containsValue(Object) - Method in class com.ontology2.pidove.util.DefaultMap
- count(Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the "count" method in the Java Streams API
- countDistinct() - Static method in class com.ontology2.pidove.iterables.MoreCollectors
- curry(Function3<A, B, C, X>) - Static method in class com.ontology2.pidove.util.Curry
- curry(BiFunction<A, B, C>) - Static method in class com.ontology2.pidove.util.Curry
- Curry - Class in com.ontology2.pidove.util
-
Curry is both awkward and cute in Java.
- Curry() - Constructor for class com.ontology2.pidove.util.Curry
- Curry2<A,
B, C> - Interface in com.ontology2.pidove.util - Curry3<A,
B, C, X> - Interface in com.ontology2.pidove.util - cycle(long, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Like the cycle function from Python's itertools but you can specify how many cycles you want
- cycle(Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Based on the cycle function from the Python itertools modules
D
- DefaultMap<K,
V> - Class in com.ontology2.pidove.util -
Like the defaultdict in Python.
- DefaultMap(Supplier<V>) - Constructor for class com.ontology2.pidove.util.DefaultMap
-
Creates a new DefaultMap backed by a new HashMap
- DefaultMap(Map<K, V>, Supplier<V>) - Constructor for class com.ontology2.pidove.util.DefaultMap
- defaultValue - Variable in class com.ontology2.pidove.util.DefaultMap
- distinct(Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the "distinct" method in the java streams API.
- dropWhile(Predicate<? super X>, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the "dropWhile" method in the java streams API.
- DuctTape - Class in com.ontology2.pidove.util
-
DuctTape methods address disagreements some people could have with Java.
- DuctTape() - Constructor for class com.ontology2.pidove.util.DuctTape
E
- empty() - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the "empty" method in the Java Streams API
- entrySet() - Method in class com.ontology2.pidove.util.DefaultMap
- enumerate(Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Based on Python's enumerate() function, which given an iterable that returns A, B, C, ...
- enumerate(Long, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Based on Python's enumerate() function, which given an iterable that returns A, B, C, ...
- equals(Object) - Method in record class com.ontology2.pidove.util.Pair
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ontology2.pidove.util.Trio
-
Indicates whether some other object is "equal to" this one.
- ExceptionalRunnable - Interface in com.ontology2.pidove.util
- ExceptionalSupplier<X> - Interface in com.ontology2.pidove.util
F
- filter(Predicate<? super X>, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the filter method in the Streams API
- filterFalse(Predicate<X>, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Like the filterfalse function from Python's itertools.
- first() - Method in record class com.ontology2.pidove.util.Pair
- first() - Method in record class com.ontology2.pidove.util.Trio
- first() - Method in interface com.ontology2.pidove.util.Tuple
- first(Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the "first" method in the Java Stream API
- flatMap(Function<X, ? extends Iterable<Y>>, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the flatmap method in the Java Streams API
- flatMapping(Function<? super T, ? extends Iterable<? extends U>>, Collector<? super U, A, R>) - Static method in class com.ontology2.pidove.iterables.MoreCollectors
-
Applies a Flat Mapping on top of a collector, that is, causes a collector to accept multiple values returned by the mapper as an Iterable<U> as individual values of type U.
- flatten(Iterable<? extends Iterable<X>>) - Static method in class com.ontology2.pidove.iterables.Iterables
- forEach(Consumer<? super X>) - Method in interface com.ontology2.pidove.iterables.TidyIterable
-
Overrides the default implementation such that the Iterator used internally will be closed at the end of this method if that Iterator implements AutoClosable
- forEach(Consumer<? super X>, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the forEach/forEachOrdered methods of the Java Stream API since pidove does an ordered iteration.
- Function3<A,
B, C, X> - Interface in com.ontology2.pidove.util
G
- generate(Supplier<Supplier<X>>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Similar to the generate method in the Java Streams API but sane.
- get() - Method in interface com.ontology2.pidove.util.ExceptionalSupplier
- get(Object) - Method in class com.ontology2.pidove.util.DefaultMap
H
- hashCode() - Method in record class com.ontology2.pidove.util.Pair
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ontology2.pidove.util.Trio
-
Returns a hash code value for this object.
I
- innerMap - Variable in class com.ontology2.pidove.util.DefaultMap
- isEmpty() - Method in class com.ontology2.pidove.util.DefaultMap
- iterable(Iterable<X>) - Static method in class com.ontology2.pidove.util.Suppliers
- Iterables - Class in com.ontology2.pidove.iterables
- Iterables() - Constructor for class com.ontology2.pidove.iterables.Iterables
- iterate(X, UnaryOperator<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the iterate method of the Java Strsams API.
J
- joinOn(CharSequence, Iterable<? extends CharSequence>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Unique to pidove.
K
- keySet() - Method in class com.ontology2.pidove.util.DefaultMap
L
- lambda(Consumer3<A, B, C>) - Static method in class com.ontology2.pidove.util.DuctTape
- lambda(Function3<A, B, C, D>) - Static method in class com.ontology2.pidove.util.DuctTape
- lambda(BiConsumer<A, B>) - Static method in class com.ontology2.pidove.util.DuctTape
- lambda(BiFunction<A, B, C>) - Static method in class com.ontology2.pidove.util.DuctTape
- lambda(Consumer<A>) - Static method in class com.ontology2.pidove.util.DuctTape
- lambda(Function<A, B>) - Static method in class com.ontology2.pidove.util.DuctTape
-
The following method tricks out the type inference system so you can write var fma = lambda((Integer a, Integer b, Integer c) -> a*b+c); that is, use var to save the a lambda function while defining the input types of the lambda function explictly in the definition
- last() - Method in record class com.ontology2.pidove.util.Pair
- last() - Method in record class com.ontology2.pidove.util.Trio
- last() - Method in interface com.ontology2.pidove.util.Tuple
- left() - Method in record class com.ontology2.pidove.util.Pair
-
Returns the value of the
left
record component. - left() - Method in record class com.ontology2.pidove.util.Trio
-
Returns the value of the
left
record component. - len(CharSequence) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Similar to the len function in Python.
- len(Iterable<T>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
If the iterable implements collections, this method uses the size method of the collection, otherwise it counts the members.
- len(T[]) - Static method in class com.ontology2.pidove.iterables.Iterables
- limit(int, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the limit method of the Java Streams API
M
- map(Function<X, Y>, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the map method of the Java Streams API
- mapOfLists() - Static method in class com.ontology2.pidove.util.Maps
- mapOfMaps() - Static method in class com.ontology2.pidove.util.Maps
- mapOfSets() - Static method in class com.ontology2.pidove.util.Maps
- Maps - Class in com.ontology2.pidove.util
-
This class contains constructors to return specialized instances of Map.
- Maps() - Constructor for class com.ontology2.pidove.util.Maps
- max(Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Similar to the max method of the Java Streams API but uses the natural ordering for convenience.
- max(Iterable<X>, Comparator<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the max method of the Java Streams API
- middle() - Method in record class com.ontology2.pidove.util.Trio
-
Returns the value of the
middle
record component. - min(Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Similar to the min method of the Java Streams API but uses the natural ordering for convenience.
- min(Comparator<X>, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the min method of the Java Streams API
- MoreCollectors - Class in com.ontology2.pidove.iterables
- MoreCollectors() - Constructor for class com.ontology2.pidove.iterables.MoreCollectors
N
- none(Iterable<Boolean>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Similar to the noneMatch function of the Java Streams API but with a pythonic signature.
- Null - Class in com.ontology2.pidove.util
-
Functions for handling nulls
- Null() - Constructor for class com.ontology2.pidove.util.Null
O
- of(A, B, C) - Static method in record class com.ontology2.pidove.util.Trio
- of(X) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the of method of the Java Streams API
- of(X...) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the of method of the Java Streams API
- of(X, Y) - Static method in record class com.ontology2.pidove.util.Pair
-
static factory method
- ofNullable(X) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the ofNullable method of the java streams API
- OnCloseException - Exception Class in com.ontology2.pidove.iterables
- OnCloseException(Exception) - Constructor for exception class com.ontology2.pidove.iterables.OnCloseException
- over(Iterables.SupplierOfBufferedReader) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Unique to pidove Given a Supplier of an Input Stream, opens the stream and iterates over lines in the file.
- over(Iterables.SupplierOfInputStream) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Unique to pidove Given a Supplier of an Input Stream, opens the stream and iterates over lines in the file.
- over(CharSequence) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Unique to pidove
- over(Path) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Unique to pidove Given a path, opens the file in character mode and returns an iterable of the lines in the file
- over(Map<X, Y>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Unique to pidove.
- over(X[]) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Unique to pidove
P
- Pair<X,
Y> - Record Class in com.ontology2.pidove.util -
Tuple of length 2
- Pair(X, Y) - Constructor for record class com.ontology2.pidove.util.Pair
-
Creates an instance of a
Pair
record class. - pairwise(Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Like the pairwise function from Python's itertools.
- partial(Consumer3<A, B, C>, A) - Static method in class com.ontology2.pidove.util.Partial
- partial(Consumer3<A, B, C>, A, B) - Static method in class com.ontology2.pidove.util.Partial
- partial(Function3<A, B, C, X>, A) - Static method in class com.ontology2.pidove.util.Partial
- partial(Function3<A, B, C, X>, A, B) - Static method in class com.ontology2.pidove.util.Partial
- partial(BiConsumer<A, B>, A) - Static method in class com.ontology2.pidove.util.Partial
- partial(BiFunction<A, B, X>, A) - Static method in class com.ontology2.pidove.util.Partial
- Partial - Class in com.ontology2.pidove.util
- Partial() - Constructor for class com.ontology2.pidove.util.Partial
- partialR(Consumer3<A, B, C>, B, C) - Static method in class com.ontology2.pidove.util.Partial
- partialR(Consumer3<A, B, C>, C) - Static method in class com.ontology2.pidove.util.Partial
- partialR(Function3<A, B, C, X>, B, C) - Static method in class com.ontology2.pidove.util.Partial
- partialR(Function3<A, B, C, X>, C) - Static method in class com.ontology2.pidove.util.Partial
- partialR(BiConsumer<A, B>, B) - Static method in class com.ontology2.pidove.util.Partial
- partialR(BiFunction<A, B, X>, B) - Static method in class com.ontology2.pidove.util.Partial
- peek(Consumer<X>, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the peek method from the Java Streams API
- product(Iterable<X>, Iterable<Y>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Generates the Cartesian product of two iterators.
- product(Iterable<X>, Iterable<Y>, Iterable<Z>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Generates the Cartesian product of three iterators.
- put(K, V) - Method in class com.ontology2.pidove.util.DefaultMap
- putAll(Map<? extends K, ? extends V>) - Method in class com.ontology2.pidove.util.DefaultMap
R
- range(long) - Static method in class com.ontology2.pidove.iterables.Iterables
-
This is like the range function from the Python standard library.
- range(long, long) - Static method in class com.ontology2.pidove.iterables.Iterables
-
This is like the range function from the Python standard library range(10,12) produces the values 10,11
- range(long, long, long) - Static method in class com.ontology2.pidove.iterables.Iterables
-
This is like the range function from the Python standard library
- reduce(BinaryOperator<X>, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the reduce method from the Java Streams API
- reduce(X, BinaryOperator<X>, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the reduce method from the Java Streams API
- remove(Object) - Method in class com.ontology2.pidove.util.DefaultMap
- repeat(long, X) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Like the repeat function in Python's itertools
- reverse() - Method in record class com.ontology2.pidove.util.Pair
- reversed(Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Based on the Python reversed() function.
- right() - Method in record class com.ontology2.pidove.util.Pair
-
Returns the value of the
right
record component. - right() - Method in record class com.ontology2.pidove.util.Trio
-
Returns the value of the
right
record component. - run() - Method in interface com.ontology2.pidove.util.ExceptionalRunnable
S
- safe(X, Function<X, Y>) - Static method in class com.ontology2.pidove.util.Null
-
Safe navigation operator.
- safe(X, Function<X, Y>, Function<Y, Z>) - Static method in class com.ontology2.pidove.util.Null
- safe(X, Function<X, Y>, Function<Y, Z>, Function<Z, ZZ>) - Static method in class com.ontology2.pidove.util.Null
- safe0(X, Consumer<X>) - Static method in class com.ontology2.pidove.util.Null
-
Safe navigation operator.
- safe0(X, Function<X, Y>, Consumer<Y>) - Static method in class com.ontology2.pidove.util.Null
- safe0(X, Function<X, Y>, Function<Y, Z>, Consumer<Z>) - Static method in class com.ontology2.pidove.util.Null
- size() - Method in class com.ontology2.pidove.util.DefaultMap
- size() - Method in record class com.ontology2.pidove.util.Pair
- size() - Method in record class com.ontology2.pidove.util.Trio
- size() - Method in interface com.ontology2.pidove.util.Tuple
- skip(int, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the skip method from the Java Streams API
- splitOn(String, int, String) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Unique to pidove
- splitOn(String, String) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Unique to pidove
- sumDouble(Iterable<Double>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Convenience method to get sum of Double Iterable
- sumInt(Iterable<Integer>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Convenience method to get sum of integer Iterable
- sumLong(Iterable<Long>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Convenience method to get sum of Long Iterable
- Suppliers - Class in com.ontology2.pidove.util
- Suppliers() - Constructor for class com.ontology2.pidove.util.Suppliers
T
- tail(int, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Note this uses somewhat different algorithms for different cases, since it is easy to pick the last N elements off the end of a RandomAccess List, but quite a hassle in comparison in the generic case where we have to keep a running memory of the last N elements we've seen.
- takeWhile(Predicate<? super X>, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Imitates the takeWhile method of the Java Streams API Stops iterating when the predicate evaluates false
- that - Variable in class com.ontology2.pidove.iterables.TidyIterator
-
Base class for an iterator that contains another iterator, such as the MapIterator.
- TidyIterable<X> - Interface in com.ontology2.pidove.iterables
-
A CleanIterable promises that the Iterator returned by the iterator() method also implements AutoClosable if that Iterator holds resources (just as open files) that need to be closed
- TidyIterator<X,
Y> - Class in com.ontology2.pidove.iterables - TidyIterator(Iterator<X>) - Constructor for class com.ontology2.pidove.iterables.TidyIterator
- toString() - Method in record class com.ontology2.pidove.util.Pair
-
Returns a string representation of this record class.
- toString() - Method in record class com.ontology2.pidove.util.Trio
-
Returns a string representation of this record class.
- Trio<X,
Y, Z> - Record Class in com.ontology2.pidove.util -
Tuple of length 3.
- Trio(X, Y, Z) - Constructor for record class com.ontology2.pidove.util.Trio
-
Creates an instance of a
Trio
record class. - Tuple<First,
Last> - Interface in com.ontology2.pidove.util -
A typed collection of values.
U
- uncheck(ExceptionalRunnable) - Static method in class com.ontology2.pidove.util.DuctTape
-
Executes a method that could throw an Exception but wraps any non-RuntimeExceptions in RuntimeExceptions.
- uncheck(ExceptionalSupplier<X>) - Static method in class com.ontology2.pidove.util.DuctTape
-
Executes a method that could throw an Exception but wraps any non-RuntimeExceptions in RuntimeExceptions.
- unchecked(ExceptionalRunnable) - Static method in class com.ontology2.pidove.util.DuctTape
-
Converts a method that could throw a non-runtime Exception into one that doesn't, using the method in the uncheck method.
- unchecked(ExceptionalSupplier<X>) - Static method in class com.ontology2.pidove.util.DuctTape
- uncurry(Curry2<A, B, C>) - Static method in class com.ontology2.pidove.util.Curry
-
Uncurry is tricky because of type erasure: (1) you can't tell the difference betweeen uncurry methods that differ only by generic parameters.
- uncurry3(Curry3<A, B, C, X>) - Static method in class com.ontology2.pidove.util.Curry
V
- values() - Method in class com.ontology2.pidove.util.DefaultMap
W
- window(int, Collector<X, ?, Y>, Iterable<X>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Unique to pidove, but taking advantage of Collectors from the Stream API Gathers values yielded by values into overlapping groups of length and passes these through the collector (in the case of N=2 and the toList() collector this has an effect similar to the pairwise() method.) Could be used to compute moving averages and other convolutions
Z
- zip(Iterable<X>, Iterable<Y>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Based on the Python zip function
- zip(Iterable<X>, Iterable<Y>, Iterable<Z>) - Static method in class com.ontology2.pidove.iterables.Iterables
-
Based on the Python zip function Note that Python's zip function is capable of combining an arbitrary number of iterables into tuples.
All Classes and Interfaces|All Packages|Serialized Form