| Package | Description |
|---|---|
| org.opencastproject.util.data | |
| org.opencastproject.util.data.functions |
| Modifier and Type | Method and Description |
|---|---|
static <A> boolean |
Collections.exists(Collection<A> as,
Predicate<A> p)
Deprecated.
use
Monadics |
static <A,M extends Collection<A>> |
Collections.filter(M as,
Predicate<A> p)
Deprecated.
use
Monadics |
static <A> Option<A> |
Collections.find(Collection<A> as,
Predicate<A> p)
Deprecated.
use
Monadics |
| Modifier and Type | Field and Description |
|---|---|
static Predicate<String> |
Strings.notBlank |
| Modifier and Type | Method and Description |
|---|---|
static Predicate<String> |
Strings.contains(String seq)
A predicate function to check if a string contains a specified sequence.
|
static Predicate<String> |
Strings.eqIgnoreCase(String other) |
static Predicate<String> |
Strings.matches(String pattern)
A predicate function to match a regular expression.
|
static <A> Predicate<A> |
Functions.toPredicate(Function<? super A,Boolean> f) |
Copyright © 2009–2020 Opencast Project. All rights reserved.