| 程序包 | 说明 |
|---|---|
| com.jn.langx.util.collection | |
| com.jn.langx.util.io.file | |
| com.jn.langx.util.io.file.filter |
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,V> boolean |
Collects.allMatch(Map<? extends K,? extends V> map,
Predicate2<K,V> predicate)
whether all elements match the specified condition or not
|
static <K,V> boolean |
Collects.anyMatch(Map<? extends K,? extends V> map,
Predicate2<K,V> predicate)
has any element match the specified condition
|
static <K,V> Map<K,V> |
Collects.filter(Map<K,V> map,
Predicate2<K,V> predicate)
Filter a map with the specified predicate
|
static <K,V> Map.Entry<? extends K,? extends V> |
Collects.findFirst(Map<? extends K,? extends V> map,
Predicate2<K,V> predicate)
find the first matched element, null if not found
|
static <K,V> boolean |
Collects.noneMatch(Map<? extends K,? extends V> map,
Predicate2<K,V> predicate)
has no any element match the specified condition ?
|
static <K,V> boolean |
Collects.removeIf(Map<K,V> map,
Predicate2<K,V> predicate)
remove all elements that match the map
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
FileFilter |
interface |
FilenameFilter
paramters:
1)File: the directory
2)String: the filename
|
| 限定符和类型 | 类和说明 |
|---|---|
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.