| 程序包 | 说明 |
|---|---|
| com.jn.langx.util.collection | |
| com.jn.langx.util.function | |
| com.jn.langx.util.io.file | |
| com.jn.langx.util.io.file.filter |
| 限定符和类型 | 方法和说明 |
|---|---|
static <E> boolean |
Collects.allMatch(Iterable<E> collection,
Predicate<E> predicate)
whether all elements match the specified condition or not
|
boolean |
Pipeline.allMatch(Predicate<E> predicate) |
static <E> boolean |
Collects.anyMatch(Collection<E> collection,
Predicate<E> predicate)
has any element match the specified condition
|
boolean |
Pipeline.anyMatch(Predicate<E> predicate) |
static <E> Collection<E> |
Collects.filter(Object anyObject,
Predicate<E> predicate)
Filter any object with the specified predicate
|
Pipeline<E> |
Pipeline.filter(Predicate<E> predicate) |
static <E> E |
Collects.findFirst(Collection<E> collection,
Predicate<E> predicate)
find the first matched element, null if not found
|
E |
Pipeline.findFirst(Predicate<E> predicate) |
static <E> boolean |
Collects.noneMatch(Iterable<E> collection,
Predicate<E> predicate)
has no any element match the specified condition ?
|
boolean |
Pipeline.noneMatch(Predicate<E> predicate) |
static <E> boolean |
Collects.removeIf(Collection<E> collection,
Predicate<E> predicate)
remove all elements that match the condition
|
static <E> boolean |
Collects.removeIf(Iterator<E> iterator,
Predicate<E> predicate) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> Predicate<T> |
Functions.nonNullPredicate()
Predicate
|
static <T> Predicate<T> |
Functions.nullPredicate() |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
FileFilter |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractFileFilter |
class |
ExecuteableFileFilter |
class |
ExistsFileFilter |
class |
IsDirectoryFileFilter |
class |
IsFileFilter |
class |
ReadableFileFilter |
class |
ReadonlyFileFilter |
class |
SuffixFileFilter |
class |
ValidFilenameFilter |
class |
WriteableFileFilter |
Copyright © 2019. All rights reserved.