public enum AccessPattern extends Enum<AccessPattern>
| Enum Constant and Description | 
|---|
ALWAYS_NULL
Value that indicates that provider never returns anything other than
 Java `null`. 
 | 
CONSTANT
Value that indicates that provider will always return a constant
 value, regardless of when it is called; and also that it never
 uses `context` argument (which may then be passed as `null`) 
 | 
DYNAMIC
Value that indicates that provider may return different values
 at different times (often a freshly constructed empty container),
 and thus must be called every time "null replacement" value is
 needed. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static AccessPattern | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static AccessPattern[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final AccessPattern ALWAYS_NULL
public static final AccessPattern CONSTANT
public static final AccessPattern DYNAMIC
public static AccessPattern[] values()
for (AccessPattern c : AccessPattern.values()) System.out.println(c);
public static AccessPattern valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2008–2020 FasterXML. All rights reserved.