public class Range extends Object
Modifier and Type | Field and Description |
---|---|
static Range |
ALL
Range that includes natural numbers.
|
int |
max |
int |
min |
Constructor and Description |
---|
Range(int min,
int max) |
Modifier and Type | Method and Description |
---|---|
<T> Iterable<T> |
apply(Collection<T> s) |
<T> List<T> |
apply(List<T> s) |
<T> List<T> |
apply(T[] a) |
public final int min
public final int max
public static final Range ALL
public <T> List<T> apply(T[] a)
public <T> Iterable<T> apply(Collection<T> s)
Copyright © 2015. All rights reserved.