Package | Description |
---|---|
org.key_project.util.java |
Modifier and Type | Method and Description |
---|---|
static <T> int |
CollectionUtil.count(java.lang.Iterable<T> iterable,
IFilter<T> filter)
Counts the number of elements in the given
Iterable which
are selected by the given IFilter . |
static java.util.List<java.io.File> |
IOUtil.search(java.io.File file,
IFilter<java.io.File> filter)
|
static <T> T |
CollectionUtil.search(java.lang.Iterable<T> iterable,
IFilter<T> filter)
Searches an element in the given
Iterable instance. |
static <T> T |
ArrayUtil.search(T[] array,
IFilter<T> filter)
Searches an element in the given
Iterable instance. |
static <T> java.util.List<T> |
CollectionUtil.searchAll(java.lang.Iterable<T> iterable,
IFilter<T> filter)
Searches all elements accepted by the given
IFilter . |
static <T> T |
CollectionUtil.searchAndRemove(java.lang.Iterable<T> iterable,
IFilter<T> filter)
Searches an element in the given
Iterable instance and removes
the found element from it. |
Copyright © 2003-2019 The KeY-Project.