public final class Validators
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static CacheValidator |
ALWAYS_FALSE
Cache value validator that always returns false
|
static CacheValidator |
ALWAYS_TRUE
Cache value validator that always returns true
|
| Constructor and Description |
|---|
Validators() |
| Modifier and Type | Method and Description |
|---|---|
static <T> CacheValidator<T> |
alwaysFalse()
Cache value validator that always returns false
|
static <T> CacheValidator<T> |
alwaysTrue()
Cache value validator that always returns true
|
public static final CacheValidator ALWAYS_TRUE
public static final CacheValidator ALWAYS_FALSE
public static <T> CacheValidator<T> alwaysTrue()
public static <T> CacheValidator<T> alwaysFalse()