| Package | Description |
|---|---|
| com.github.bicoco | |
| com.github.bicoco.collections |
| Modifier and Type | Method and Description |
|---|---|
static <T> boolean |
_.all(List<T> list,
ConditionFunction<T> function)
Deprecated.
Returns true if all of the values in the list pass the predicate truth test
|
static <T> boolean |
Helpers.all(List<T> list,
ConditionFunction<T> function)
Returns true if all of the values in the list pass the predicate truth test
|
static <T> boolean |
_.any(List<T> list,
ConditionFunction<T> function)
Deprecated.
Returns true if any of the values in the list pass the predicate truth test
|
static <T> boolean |
Helpers.any(List<T> list,
ConditionFunction<T> function)
Returns true if any of the values in the list pass the predicate truth test
|
static <T> int |
_.count(List<T> list,
ConditionFunction<T> function)
Deprecated.
Return size of list where function returns true, or 0 to empty list.
|
static <T> int |
Helpers.count(List<T> list,
ConditionFunction<T> function)
Return size of list where function returns true, or 0 to empty list.
|
static <T> List<T> |
_.reject(List<T> list,
ConditionFunction<T> function)
Deprecated.
Select all elements that condition returns false.
|
static <T> List<T> |
Helpers.reject(List<T> list,
ConditionFunction<T> function)
Select all elements that condition returns false.
|
static <T> void |
_.reject$(List<T> list,
ConditionFunction<T> function)
Deprecated.
Select all elements that condition returns false.
|
static <T> void |
Helpers.reject$(List<T> list,
ConditionFunction<T> function)
Select all elements that condition returns false.
|
static <T> List<T> |
_.select(List<T> list,
ConditionFunction<T> function)
Deprecated.
Select all elements that condition returns true.
|
static <T> List<T> |
Helpers.select(List<T> list,
ConditionFunction<T> function)
Select all elements that condition returns true.
|
static <T> void |
_.select$(List<T> list,
ConditionFunction<T> function)
Deprecated.
Select all elements that condition returns true.
|
static <T> void |
Helpers.select$(List<T> list,
ConditionFunction<T> function)
Select all elements that condition returns true.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ListHelper.all(ConditionFunction<T> function)
Returns true if all of the values in the list pass the predicate truth test
|
boolean |
ListHelper.any(ConditionFunction<T> function)
Returns true if any of the values in the list pass the predicate truth test
|
int |
ListHelper.count(ConditionFunction<T> function)
Return size of list where function returns true, or 0 to empty list.
|
List<T> |
ListHelper.reject(ConditionFunction<T> function)
Select all elements that condition returns false.
|
void |
ListHelper.reject$(ConditionFunction<T> function)
Select all elements that condition returns false.
|
List<T> |
ListHelper.select(ConditionFunction<T> function)
Select all elements that condition returns true.
|
void |
ListHelper.select$(ConditionFunction<T> function)
Select all elements that condition returns true.
|
Copyright © 2015. All rights reserved.