Package com.treemap
Class Itertools
java.lang.Object
com.treemap.Itertools
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Iterable<T> combinations(List<T> list, int r) static <T> Iterable<T> count(int start) count(int start, int step) static <T> Iterable<T> static <T> Iterable<T> static <T> Iterable<T> static <T> Iterable<T> ifilterfalse(Predicate<T> predicate, List<T> list) static <T,U> Iterable <U> static <T> Iterable<T> static <T> Iterable<T> static <T> Iterable<T> izipLongest(T fillValue, List<T>... lists) permutations(List<T> list, int r) static <T> Iterable<T> repeat(T t) static <T> Iterable<T> repeat(T t, int n) static <T> Iterable<T>
-
Constructor Details
-
Itertools
public Itertools()
-
-
Method Details
-
count
- Parameters:
start-step-- Returns:
-
count
-
cycle
-
repeat
- Type Parameters:
T-- Parameters:
t-n-- Returns:
-
repeat
- Type Parameters:
T-- Parameters:
t-- Returns:
-
chain
- Type Parameters:
T-- Parameters:
iterables-- Returns:
-
compress
- Type Parameters:
T-- Parameters:
data-selectors-- Returns:
-
dropWhile
- Type Parameters:
T-- Parameters:
pred-seq-- Returns:
-
ifilter
- Type Parameters:
T-- Parameters:
predicate-list-- Returns:
-
ifilterfalse
-
islice
-
islice
-
islice
-
imap
-
takeWhile
-
izip
-
izipLongest
-
product
-
combinations
-
permutations
-