public class Integers extends Object
| Constructor and Description |
|---|
Integers() |
| Modifier and Type | Method and Description |
|---|---|
static int |
nullToZero(Integer value)
Convert (nullable) Integer value to non-null int value.
|
static Integer |
parseIntOrNull(String value)
Try to parse integer.
|
static Integer |
zeroToNull(int value)
Convert non-null int to nullable Integer.
|
public static int nullToZero(Integer value)
value - input valuepublic static Integer zeroToNull(int value)
value - input valueCopyright © 2015 illucIT Software GmbH. All rights reserved.