public static enum MediaUtils.MissingValueStrategy extends java.lang.Enum<MediaUtils.MissingValueStrategy>
null
values with a numeric value.Enum Constant and Description |
---|
MAX
replace
null by Integer.MAX_VALUE |
ZERO
replace
null by 0 |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
applyTo(java.lang.Integer val) |
static MediaUtils.MissingValueStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MediaUtils.MissingValueStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaUtils.MissingValueStrategy MAX
null
by Integer.MAX_VALUE
public static final MediaUtils.MissingValueStrategy ZERO
null
by 0
public static MediaUtils.MissingValueStrategy[] values()
for (MediaUtils.MissingValueStrategy c : MediaUtils.MissingValueStrategy.values()) System.out.println(c);
public static MediaUtils.MissingValueStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.Integer applyTo(java.lang.Integer val)
Copyright © 2007-2020 EDIT. All Rights Reserved.