public abstract class Predicates extends Object
Modifier and Type | Method and Description |
---|---|
static <T> com.google.common.base.Predicate<com.google.common.base.Optional<T>> |
isPresent()
Returns a predicate that matches all
Optional s that have a reference to a value, i.e. they have a value present. |
public static <T> com.google.common.base.Predicate<com.google.common.base.Optional<T>> isPresent()
Optional
s that have a reference to a value, i.e. they have a value present.T
- the type of the Optional
Optional
s that have a reference to a valueCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.